Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EZP-25453: improve root uri handling in Map\URI siteaccess matcher #1643

Merged
merged 2 commits into from May 4, 2016

Conversation

bdunogier
Copy link
Member

Reopening of #1555 by @Simounet against 6.1

Adds test + a fix for the mirror case (/foo => /).

Simounet and others added 2 commits April 29, 2016 12:17
Given that siteaccess matching uses an URI map,
When generating the URI to the root,
I expect the URI to end without a slash
Avoids an offset error when parsing the root's URI with a siteaccess part.
@andrerom
Copy link
Contributor

andrerom commented Apr 29, 2016

+1, somewhat side: but I'm missing coverage for utf8 strings in the tests.

Reason I mention this is that there is a incoming customer issue where we seem to have a utf8 encoding regression on 5.4.x because of 96f0e5b The issue also uncovers siteaccess matching does not support utf8 now, while it has at some point in the past.

@Simounet
Copy link
Contributor

Simounet commented May 3, 2016

It's ok for me. Thanks @bdunogier.

@bdunogier bdunogier merged commit 11a8bcd into 6.1 May 4, 2016
@bdunogier bdunogier deleted the ezp25453-root_trailing_slash branch May 4, 2016 12:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants