bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#6300: browse-url-encode need to encode more


From: Lars Magne Ingebrigtsen
Subject: bug#6300: browse-url-encode need to encode more
Date: Wed, 21 Sep 2011 22:59:20 +0200
User-agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux)

Lennart Borgman <address@hidden> writes:

>>> +  (replace-regexp-in-string " " "+"
>>> +                            (browse-url-url-encode-chars url "[\"()$]")))
>>
>> Is there any reason space shouldn't be quoted as %20 instead?  I.e.,
>> just add it to the regexp there at the end?
>
> Yes. Readability.

But if I remember correctly, it's not, strictly speaking, er, correct.

Space can be "+" in the query part of an URL, but should be %20
elsewhere.

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]