Skip to content

Enable wildcards in URI to match incoming request #8

Open
monking wants to merge 1 commit intowebtechnick:masterfrom
monking:master
Open

Enable wildcards in URI to match incoming request #8
monking wants to merge 1 commit intowebtechnick:masterfrom
monking:master

Conversation

@monking
Copy link

@monking monking commented Jun 20, 2013

wildcard is %, so URIs with URI-encoded characters must be escaped using %%.
e.g. /press/%/some%%20article matches requests /press/new/some%20article and /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 like some_other20_article. Suggest to update old URIs or add a toggle in the admin to allow wildcards, off by default.

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`).
@aydoganserdar
Copy link

HTTP_HOST/admin/seo/seo_redirects/ not working for cake 2.4
Error: Create the class AdminController below in file: app/Controller/AdminController.php

@monking
Copy link
Author

monking commented Jan 2, 2014

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants