[hunchentoot-devel] Probably a bug in url-encode/url-decode

Andrey Moskvitin archimag at gmail.com
Thu Mar 18 23:45:19 UTC 2010


Hi,

I encountered the following problem:

CL-USER> (hunchentoot:url-decode "+")
" "
CL-USER> (hunchentoot:url-encode "+")
"%2B"

But in JavaScript:

>>> encodeURI("+")
"+"
>>> decodeURI("+")
"+"

This is a bug?

Andrey
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/tbnl-devel/attachments/20100318/6e119af5/attachment.html>


More information about the Tbnl-devel mailing list