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

strip extra slash on versions #100

Closed
fliiiix opened this issue Jun 17, 2021 · 0 comments · Fixed by #269
Closed

strip extra slash on versions #100

fliiiix opened this issue Jun 17, 2021 · 0 comments · Fixed by #269
Labels
bug Something isn't working good first issue Good for newcomers python Things concerning Python code

Comments

@fliiiix
Copy link
Member

fliiiix commented Jun 17, 2021

If you add a extra slash at the end to post a version like this it fails with 404 without message on curl:

curl -X POST -F "file=@_site.zip" http://docs.company.com/api/project/2.0.0/

this one will work:

curl -X POST -F "file=@_site.zip" http://docs.company.com/api/project/2.0.0
@fliiiix fliiiix added bug Something isn't working good first issue Good for newcomers labels Jun 17, 2021
@fliiiix fliiiix added the python Things concerning Python code label Jul 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers python Things concerning Python code
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant