Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[Process] Permit empty suffix on Windows#21613

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Closed
Bilge wants to merge1 commit intosymfony:masterfromBilge:patch-1

Conversation

@Bilge
Copy link
Contributor

QA
Branch?master
Bug fix?yes
New feature?no
BC breaks?no
Deprecations?no
Tests pass?yes
Fixed tickets
LicenseMIT
Doc PR

It is a fallacy to assume the blank suffix is not applicable on Windows systems, especially in a world where we often emulate Linux systems with solutions such as CYGWIN, MinGW and MSYS.

if ('\\' ===DIRECTORY_SEPARATOR) {
$pathExt =getenv('PATHEXT');
$suffixes =$pathExt ?explode(PATH_SEPARATOR,$pathExt) :$this->suffixes;
$suffixes =array_merge($suffixes,$pathExt ?explode(PATH_SEPARATOR,$pathExt) :$this->suffixes);
Copy link
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Here we are merging the Windows suffixes with the previously-defined empty suffix on line 75, instead of overwriting the empty suffix list as previously.

@BilgeBilge changed the titlePermit empty suffix on Windows[Process] Permit empty suffix on WindowsFeb 14, 2017
@fabpot
Copy link
Member

Thank you@Bilge.

fabpot added a commit that referenced this pull requestFeb 16, 2017
This PR was submitted for the master branch but it was merged into the 2.7 branch instead (closes#21613).Discussion----------[Process] Permit empty suffix on Windows| Q             | A| ------------- | ---| Branch?       | master| Bug fix?      | yes| New feature?  | no| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets || License       | MIT| Doc PR        |It is a fallacy to assume the blank suffix is not applicable on Windows systems, especially in a world where we often emulate Linux systems with solutions such as CYGWIN, MinGW and MSYS.Commits-------412db4c Permit empty suffix on Windows
@fabpotfabpot closed thisFeb 16, 2017
@Bilge
Copy link
ContributorAuthor

Thank you@fabpot 👍

@fabpotfabpot mentioned this pull requestFeb 17, 2017
This was referencedMar 6, 2017
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@Bilge@fabpot@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp