-
Notifications
You must be signed in to change notification settings - Fork 175
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
Can't putObject with path as a key #8
Comments
Thanks for that @bamthomas. |
@timoe Are you referring to the request mapping |
@magro: Right, that’s what I assume. We have to
However, we´re going to work on that. |
@timoe Ok. Because this is that urgent for us we'll now try to fix this. In the good case that we can come up with a PR, how fast could you release it? Mit Grüßen aus der Schanze :-) |
@magro: I played around with mapping patterns but got stuck for some methods. So I reworked mappings for extracting the object key from request URI. I already opened a PR for it based on this branch https://github.com/timoe/S3Mock/tree/fix/put_objects_including_path_fragments. You might to take a look at it and give it a try on your side. Grüße vom Fischmarkt. |
I'll have a look |
There's currently no error returning for requests with slashes in the key. But a simple PUT for an object and the list this object does not work:
|
@mattelacchiato: Can you please add a code snippet / unit test for that. I tried listing bucket objects inside a folder and failed. As I did updates on it: Can you please pull the branch I mentioned again. It contains an update regarding visiting the directory hierarchy within the bucket which hopefully solves that problem. |
Yeah, it works! When will you release it? Do you still need a test for that? |
Great, will roll the release now... |
We had some issues with the release, so there was a bit of a delay. Version 1.0.2 is now pushed to Docker-Hub and to Maven-Central. |
Hi all,
I can't do a putObject with a path key :
I have a Not Acceptable 406 code.
When I test this with the real S3, it creates a file in a src/test/resources/ path.
am I missing something ?
The text was updated successfully, but these errors were encountered: