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

Bad request checking if an object exist with special character in name #742

Open
ronnieschuurbiers opened this issue Oct 26, 2019 · 1 comment

Comments

@ronnieschuurbiers
Copy link

ronnieschuurbiers commented Oct 26, 2019

When I try to check if an object exists with object name ü.jpg I get a 400 bad request error. Other special characters like @.jpg work fine.

Is there any documentation what characters are (not) allowed for an object name?

@qwebltd
Copy link

qwebltd commented Feb 10, 2021

I found the same. Turns out using rawurlencode() does the trick!

$container->getObject(rawurlencode('name containing special characters'));

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

No branches or pull requests

2 participants