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

filename attachment not url-encoded #59

Open
Maxima078 opened this issue Jan 16, 2015 · 1 comment
Open

filename attachment not url-encoded #59

Maxima078 opened this issue Jan 16, 2015 · 1 comment

Comments

@Maxima078
Copy link

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.

@soitgoes
Copy link
Owner

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
#59.

Martin Murphy
Whiteboard-IT
http://whiteboard-it.com
w: (205) 588-7102

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