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

Cannot correctly add a tag containing ampersand ("&") #238

Open
NewPProd opened this issue Jul 5, 2017 · 0 comments
Open

Cannot correctly add a tag containing ampersand ("&") #238

NewPProd opened this issue Jul 5, 2017 · 0 comments

Comments

@NewPProd
Copy link

NewPProd commented Jul 5, 2017

The API does not allow you to upload tags containing ampersands ("&" chars).
The tags are provided as URL parameters, so ampersands are URL encoded to %26.
e.g. I'd like to add a tag for "b&w". URL encoding the "&" gives "%26".

POST https://api.500px.com/v1/photos/12345etc/tags?tags=b%26w

The end result is an incorrect tag visible in the 500px website UI named "b & amp ; w" (without the spaces).

It appears you can use the 500px web UI to correctly enter a tag containing an ampersand.
So how do you use the API to do the same?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant