You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So this is causing some problems when I do http.Get() with urls that contains parens because they get escaped from http://example.com/fit-in/236x345/filters:quality(90):fill(ffffff) into http://example.com/fit-in/236x345/filters:quality%2890%29:fill%28ffffff%29 and the web server seems doesn't like it.
P.s. note that I'm not the author of these kind of urls nor able to upgrade the web-server to a recent version that probably could be able to unescape the path again.
The text was updated successfully, but these errors were encountered:
DAddYE
changed the title
URL: escaping parens
net/url: URL.String() escaping parenthesis
Jan 24, 2015
DAddYE
changed the title
net/url: URL.String() escaping parenthesis
net/url: escaping parenthesis
Jan 24, 2015
Hi all!
I have a question, the package
URL
implements theRFC 3986
although if I read it correctly in section2.2
it says about reserved chars:However, checking the source of the current go implementation
I don't see the
'('
and')'
part of reserved.So this is causing some problems when I do
http.Get()
with urls that contains parens because they get escaped fromhttp://example.com/fit-in/236x345/filters:quality(90):fill(ffffff)
intohttp://example.com/fit-in/236x345/filters:quality%2890%29:fill%28ffffff%29
and the web server seems doesn't like it.P.s. note that I'm not the author of these kind of urls nor able to upgrade the web-server to a recent version that probably could be able to unescape the path again.
The text was updated successfully, but these errors were encountered: