-
Notifications
You must be signed in to change notification settings - Fork 133
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
400 Bad Request Response when File contains spaces. #218
Comments
Thank you for your report 👍 I've received it and will take a look soon. |
Hello, thank you for your patience. I added some integration tests using the file name and have not be able to reproduce your issue locally. I'm going to try setting up it up more formally in S3 but let me show you what I'm checking to see if I'm missing anything: Setup: Test request: I set up an echo server in the place of the S3 gateway to see what was being received by s3:
So from this basic test it does not look to me like the gateway itself is losing the encoding. When run against the test minio server the file content comes back as expected. Please let me know if you see anything that could bring me closer to reproducing your issue. If you haven't already, you may want to try turning on |
Hello, the issue has resurfaced for us. We took a closer look into it and have come to the conclusion that it occurred on our side. Thank you very much. |
Describe the bug
We have an HTML file with spaces in an S3 bucket. When we try to access it, NGINX reports a 400 - Bad Request. In the logs of the nginx-s3-gateway pod, we could see that the request is sent to NGINX encoded. However, it looks like the encoding is removed again at proxy_pass
To Reproduce
Steps to reproduce the behavior:
Expected behavior
We expect the file to be delivered.
Your environment
Additional context
The text was updated successfully, but these errors were encountered: