LoveSeat
LoveSeat copied to clipboard
filename attachment not url-encoded
Hello,
I noticed attachment name containing special character are not being url-encoded. There is just a string.format(...) : https://github.com/soitgoes/LoveSeat/blob/master/LoveSeat/CouchDatabase.cs#L216
Therefore an attachment name such as 'picture+1' will become 'picture 1' in CouchDB since
request = (HttpWebRequest)WebRequest.Create(uri);
will replace it by space.
Good catch. I'll get that fix in sometime today.
On Fri, Jan 16, 2015 at 8:27 AM, Maxima078 [email protected] wrote:
Hello,
I noticed attachment name containing special character are not being url-encoded. There is just a string.format(...) : https://github.com/soitgoes/LoveSeat/blob/master/LoveSeat/CouchDatabase.cs#L216
Therefore an attachment name such as 'picture+1' will become 'picture 1' in CouchDB since request = (HttpWebRequest)WebRequest.Create(uri); will replace it by space.
Reply to this email directly or view it on GitHub https://github.com/soitgoes/LoveSeat/issues/59.
Martin Murphy Whiteboard-IT http://whiteboard-it.com w: (205) 588-7102