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

Allow http service to expose prefixes containing slashes (/) #3070

Merged
merged 4 commits into from
Jul 13, 2022

Conversation

gmgigi96
Copy link
Member

@gmgigi96 gmgigi96 commented Jul 12, 2022

This PR allows to expose services under URLs like api/v1/mystuff rather than just on api

@update-docs
Copy link

update-docs bot commented Jul 12, 2022

Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would create a changelog item based on your changes.

@gmgigi96 gmgigi96 requested review from glpatcern and a team as code owners July 12, 2022 15:21
@labkode labkode changed the title Allow http service to expose prefixes containing / Allow http service to expose prefixes containing slashes (/) Jul 12, 2022
labkode
labkode previously approved these changes Jul 12, 2022
@gmgigi96
Copy link
Member Author

@labkode I will fix the code to pass the tests

@labkode
Copy link
Member

labkode commented Jul 13, 2022

@gmgigi96 the thing is I don't know why they failed ...

@gmgigi96
Copy link
Member Author

@gmgigi96 the thing is I don't know why they failed ...

I think I got it. Before the handler was called with the URL containing only the tail part of the original URL request, and this is what the different http services are expecting.

@labkode labkode self-requested a review July 13, 2022 16:13
@labkode labkode merged commit 3bc0b4c into cs3org:master Jul 13, 2022
gmgigi96 added a commit to cernbox/reva that referenced this pull request Jul 14, 2022
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