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

form params should be encoded #18

Closed
incubus opened this Issue May 27, 2013 · 1 comment

Comments

Projects
None yet
2 participants
@incubus
Contributor

incubus commented May 27, 2013

Hi!

I can't use form param with value like this "http://www.site.com/data.htm?stamp=2013.1.0.116.CaxH13&base=1007.77.0.0&id=9094497" because it's trimmed by _process_form function into "http://www.site.com/data.htm?stamp=2013.1.0.116.CaxH13"

I've tried to use escape function:

for key of params
  serialized.push("#{key}=#{escape(params[key])}")

But your line with replace(/%|!/g, '') function breaks my idea. :)

@igor-alexandrov

This comment has been minimized.

Owner

igor-alexandrov commented Jun 1, 2013

Fixed in wiselinks-0.6.0.
Thanks!

erikmellum pushed a commit to erikmellum/wiselinks that referenced this issue Nov 15, 2015

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