On Fri, Dec 25, 2020 at 11:58 AM Stephane Bortzmeyer <stephane at sources.org> wrote: > I don't think that percent-encoding has to be done per path segment. I > don't find anything in RFC 3986 that makes your algorithm > mandatory. "/" is a safe character, anyway so it seems to me that you > can percent-encode the entire path in one operation. > Once any necessary punycoding has been done (look for // on the left and either / or end-of-string on the right), the whole URI can have its non-ASCII characters %-encoded all at once. -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.orbitalfox.eu/archives/gemini/attachments/20201226/31af f2f2/attachment.htm>
---
Previous in thread (95 of 109): 🗣️ Petite Abeille (petite.abeille (a) gmail.com)
Next in thread (97 of 109): 🗣️ Petite Abeille (petite.abeille (a) gmail.com)