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

[DomCrawler] UriResolver support path with colons#52579

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

Merged
nicolas-grekas merged 1 commit intosymfony:5.4fromvdauchy:resolve-uri-fix-5.4
Nov 14, 2023

Conversation

@vdauchy
Copy link
Contributor

@vdauchyvdauchy commentedNov 14, 2023
edited
Loading

QA
Branch?5.4
Bug fix?yes
New feature?no
Deprecations?no
IssuesFix UriResolver bad handling of colons in path
LicenseMIT

Resolving links on pages using weird pagination like:https://localhost/domain/search/page:5 fails due to: making

var_dump(parse_url('/page:1', \PHP_URL_SCHEME));

Returnfalse (and not null as expected in the code).

This simply ensure the absolute URL is returned only if the SCHEME is found (ie a string is returned byparse_url).

mykiwi reacted with thumbs up emoji
@carsonbot
Copy link

Hey!

Thanks for your PR. You are targeting branch "5.4" but it seems your PR description refers to branch "6.3".
Could you update the PR description or change target branch? This helps core maintainers a lot.

Cheers!

Carsonbot

@stofstof changed the title[DomCrawler] UriResolver support path with columns[DomCrawler] UriResolver support path with colonsNov 14, 2023
@nicolas-grekas
Copy link
Member

Thank you@vdauchy.

vdauchy reacted with thumbs up emojivdauchy reacted with heart emoji

@nicolas-grekasnicolas-grekas merged commita92dd0d intosymfony:5.4Nov 14, 2023
This was referencedNov 15, 2023
lyrixx added a commit to lyrixx/symfony that referenced this pull requestNov 17, 2023
…colons (vdauchy)"This reverts commita92dd0d, reversingchanges made toc5b810f.
lyrixx added a commit to lyrixx/symfony that referenced this pull requestNov 17, 2023
…colons (vdauchy)"This reverts commita92dd0d, reversingchanges made toc5b810f.
nicolas-grekas pushed a commit to lyrixx/symfony that referenced this pull requestNov 17, 2023
nicolas-grekas added a commit that referenced this pull requestNov 17, 2023
…ith colons" (lyrixx)This PR was squashed before being merged into the 5.4 branch.Discussion----------[DomCrawler] Revert "bug#52579 UriResolver support path with colons"| Q             | A| ------------- | ---| Branch?       | 5.4| Bug fix?      | yes| New feature?  | no| Deprecations? | no| Issues        |fix#52628| License       | MITCommits-------790fb38 [DomCrawler] Revert "bug#52579 UriResolver support path with colons"
nicolas-grekas added a commit that referenced this pull requestNov 20, 2023
* 5.4:  [Cache][Lock] Fix PDO store not creating table + add testsCloses#51936-Added Missing translations for Czech (cs) in validators.cs.xlf file  Added missing translations in turkish and updated validators.tr.xlf  [Serializer] Fix denormalizing date intervals having both weeks and days  [Validator] updated Turkish translation  [Serializer] Fix denormalize constructor arguments  Add some more non-countable English nouns  Add hint that changing input arguments has no effect  [DomCrawler] Revert "bug#52579 UriResolver support path with colons"  [VarExporter] Fix handling mangled property names returned by __sleep()  Update Github template for 7.1
nicolas-grekas added a commit that referenced this pull requestNov 20, 2023
* 6.3:  [Cache][Lock] Fix PDO store not creating table + add testsCloses#51936-Added Missing translations for Czech (cs) in validators.cs.xlf file  Added missing translations in turkish and updated validators.tr.xlf  [Serializer] Fix denormalizing date intervals having both weeks and days  [Validator] updated Turkish translation  [Serializer] Fix denormalize constructor arguments  Add some more non-countable English nouns  Add hint that changing input arguments has no effect  [DomCrawler] Revert "bug#52579 UriResolver support path with colons"  [VarExporter] Fix handling mangled property names returned by __sleep()  Update Github template for 7.1
nicolas-grekas added a commit that referenced this pull requestNov 20, 2023
* 6.4:  [FrameworkBundle] Add TemplateController to the list of allowed controllers for fragments  [Cache][Lock] Fix PDO store not creating table + add testsCloses#51936-Added Missing translations for Czech (cs) in validators.cs.xlf file  Added missing translations in turkish and updated validators.tr.xlf  [Serializer] Fix denormalizing date intervals having both weeks and days  [Validator] updated Turkish translation  [Serializer] Remove wrong final tags  [Serializer] Fix denormalize constructor arguments  Add some more non-countable English nouns  Add hint that changing input arguments has no effect  register the virtual request stack together with common profiling services  Don't lose checkpoint state when lock is acquired from another  [DomCrawler] Revert "bug#52579 UriResolver support path with colons"  [VarExporter] Fix handling mangled property names returned by __sleep()  Update Github template for 7.1  Fix memory limit in PhpSubprocess unit test
nicolas-grekas added a commit that referenced this pull requestNov 20, 2023
* 7.0:  [FrameworkBundle] Add TemplateController to the list of allowed controllers for fragments  [Cache][Lock] Fix PDO store not creating table + add testsCloses#51936-Added Missing translations for Czech (cs) in validators.cs.xlf file  Added missing translations in turkish and updated validators.tr.xlf  [Serializer] Fix denormalizing date intervals having both weeks and days  [Validator] updated Turkish translation  [Serializer] Remove wrong final tags  [Serializer] Fix denormalize constructor arguments  Add some more non-countable English nouns  Add hint that changing input arguments has no effect  register the virtual request stack together with common profiling services  Don't lose checkpoint state when lock is acquired from another  [DomCrawler] Revert "bug#52579 UriResolver support path with colons"  [DoctrineBridge] Fix use "attribute" driver by default  [VarExporter] Fix handling mangled property names returned by __sleep()  Update Github template for 7.1  [WebProfilerBundle] Mark CodeExtension as non-internal  Fix memory limit in PhpSubprocess unit test
@nicolas-grekas
Copy link
Member

See#58218

nicolas-grekas added a commit that referenced this pull requestSep 11, 2024
This PR was merged into the 5.4 branch.Discussion----------Work around `parse_url()` bug| Q             | A| ------------- | ---| Branch?       | 5.4| Bug fix?      | yes| New feature?  | no| Deprecations? | no| Issues        |Fix#52579,#54332| License       | MITWorks around*php/php-src#12703Commits-------fb76e53 Work around parse_url() bug
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@mtarldmtarldmtarld approved these changes

Assignees

No one assigned

Projects

None yet

Milestone

5.4

Development

Successfully merging this pull request may close these issues.

4 participants

@vdauchy@carsonbot@nicolas-grekas@mtarld

[8]ページ先頭

©2009-2025 Movatter.jp