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

Different behaviour between POST /sharings and POST /sharings/ #3702

Open
Peltoche opened this issue Jan 30, 2023 · 2 comments
Open

Different behaviour between POST /sharings and POST /sharings/ #3702

Peltoche opened this issue Jan 30, 2023 · 2 comments

Comments

@Peltoche
Copy link
Contributor

During a test refactoring I have made a typo and I have put a / at the end of the /sharings url. This change have broken my test resulting to a 403 Forbidden instead of 201 Created.

IMHO the trailing slash should be trime early during and shouldn't have any impact at all.

@Peltoche
Copy link
Contributor Author

Related to #1876 I guess

@nono
Copy link
Member

nono commented Feb 2, 2023

I agree, we should do that. It's just that we never took the time to do it.

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 a pull request may close this issue.

2 participants