On the use of %20 instead of + in URIs

Philip Linde linde.philip at gmail.com
Fri Nov 27 11:10:28 GMT 2020


On Wed, 25 Nov 2020 00:02:35 -0500
"Adnan Maolood" <me at adnano.co> wrote:

> Section 1.2 of the Gemini specification says:
> 
> > Spaces in gemini URIs should be encoded as %20, not +.
> 
> I noticed that some servers do not properly handle +, treating it as a
> literal plus sign. Since this is a recommendation and not a must,
> shouldn't servers treat plus signs as spaces? Not allowing spaces makes
> it slightly more difficult to use URL parsing libraries which use plus
> signs.

"+" doesn't generally have a special meaning that implies synonymity
with spaces. The sentence you're referring to should be considered a
clarifying point (because it's an easy mistake to make I guess), not a
difference from the standard it adopts (RFC 3986)

-- 
Philip
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <https://lists.orbitalfox.eu/archives/gemini/attachments/20201127/e891b617/attachment.sig>


More information about the Gemini mailing list