+ is not used in url-encoding.  + is used in
application/x-www-form-urlencoded encoding.  So I assume this function has
implemented unescaping application/x-www-form-urlencoded.  For regular
URL-encoding, space is encoded as %20.


On Fri, May 24, 2013 at 11:46 PM, Guenter Knauf <fua...@apache.org> wrote:

> Hi Daniel,
>
> On 25.05.2013 02:06, Guenter Knauf wrote:
>
>> On 24.05.2013 23:45, Daniel Gruno wrote:
>>
>>> That's fine by me, I'm not married to 'sleep' (although I do like a good
>>> nap)
>>>
>> hehe, ok; I look into it soon.
>>
> done.
>
> Found another small docu bug:
>
> r:unescape(string) -- Unescapes an URL-escaped string:
>
> local url = "http%3a%2f%2ffoo.bar%2f1+2+3+**%26+4+%2b+5"
> local unescaped = r:escape(url) -- returns 'http://foo.bar/1 2 3 & 4 + 5'
>
> the function call should here be r:unescape(url) ...
>
> Gün.
>
>
>

Reply via email to