Pomax / node-flickrapi

A node.js (and client-library) implementation of the Flickr API with oauth API key authentication and API method proxying
177 stars 51 forks source link

Error on single quotes within tag names #75

Open kbruland opened 8 years ago

kbruland commented 8 years ago

Errors are thrown on the photo.setTags and photo.addTags methods when the tags value posted contains single quotes. This appears to be because these are encoded within the post body. When a tag value containing a single quote is entered manually within the Flickr UI, the single quote in the resulting underlying API call's post body is not encoded and works.

Pomax commented 8 years ago

thanks for reporting! marking as bug, although I don't know when I'll be able to get to fixing it.