Ticket #373 (closed defect: fixed)
form-urlencode doesn't encode slashes
|Reported by:||taylor_venable||Owned by:||sjamaan|
Using form-urlencode (and hence, http-client when a function such as with-input-from-request is given an alist) doesn't encode slashes in parameter values. For example:
#;2> (form-urlencode '(("foo" . "<p>hello</p>"))) "foo=%3Cp%3Ehello%3C/p%3E"
This has caused some problems for me when receiving ends don't process the slash correctly. I worked around it by calling uri-encode-string directly (which does escape the slash) rather than having http-client do the encoding of an alist for me automatically.