Closed xserna closed 7 years ago
ping @blankse What do you think? You're the author of the PR @xserna linked :)
This patch is not in the legacy bridge either, how does it work there?
Hi @emodric after your comment I've reviewed the LegacyBridge, there the decode is already implemented. I've update this PR to implement here the same way as on LegacyBridge (excluding viewParametersString from decode)
LGTM +1 Here the Commit from LegacyBridge: https://github.com/ezsystems/LegacyBridge/commit/afd59b7740653a60eacd52acf20cd584c8d5154c
@xserna Would you add the tests from the commit @blankse linked too?
After that, I'm merging :)
@emodric sure, I'll try to do it ASAP.
@emodric you can check the tests are now added :-)
Thanks @xserna :)
Due to fix on EZP-25171, the full semanticPathinfo (including both base URI and viewParameters) is stored "rawurldecoded", but Pathinfo on $request remains untouched (urlencoded). When comparing encoded pathinfo with decoded semanticPathinfo, some bad parts are incorrectly added on siteaccess URI array. Decoding 'pathinfo' before comparing to already decoded 'semanticPathinfo' solves the problem.