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

Fix chi routing #2076

Merged
merged 1 commit into from
Sep 16, 2021
Merged

Fix chi routing #2076

merged 1 commit into from
Sep 16, 2021

Conversation

butonic
Copy link
Contributor

@butonic butonic commented Sep 16, 2021

Chi routes based on the URL.RawPath, which is not updated by the shiftPath based routing used in reva. By setting the RawPath to an empty string chi will fall pack to URL.Path, allowing it to match percent encoded path segments, e.g. when trying to match emails or multibyte characters.

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
@wkloucek
Copy link
Contributor

@labkode could you please merge this?

@labkode labkode merged commit d83f20c into cs3org:master Sep 16, 2021
glpatcern pushed a commit to glpatcern/reva that referenced this pull request Sep 23, 2021
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
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.

4 participants