Enable wildcards in URI to match incoming request #8
Open
monking wants to merge 1 commit intowebtechnick:masterfrom
Open
Enable wildcards in URI to match incoming request #8monking wants to merge 1 commit intowebtechnick:masterfrom
monking wants to merge 1 commit intowebtechnick:masterfrom
Conversation
wildcard is %, so URIs with URL-encoded characters must be escaped using %% (e.g. `/press/%/some%%20article` matches requests `/press/new/some%20article` and `/press/archived/some%20article`).
|
HTTP_HOST/admin/seo/seo_redirects/ not working for cake 2.4 |
Author
|
I will check if this is an issue in the project that prompted this change. Otherwise, I may not be able to address it. Thanks for posting the error, though! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
wildcard is %, so URIs with URI-encoded characters must be escaped using %%.
e.g.
/press/%/some%%20articlematches requests/press/new/some%20articleand/press/archived/some%20article. Existing URIs with URI-encoded characters from the old scheme will still work as they are, but will also match weird URLs likesome_other20_article. Suggest to update old URIs or add a toggle in the admin to allow wildcards, off by default.