[spec] IRIs, IDNs, and all that international jazz

On Wed, Dec 23, 2020 at 09:26:24PM +0100,
 cage <cage-dev at twistfold.it> wrote 
 a message of 17 lines which said:

> > The individual path segments actually.
> >
> > So, given /Foo/Bar/Baz, decompose the path into individual
> > segments Foo, Bar, and Baz, encode these, and reconstruct the
> > path. Easy-peasy.

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.

---

Previous in thread (60 of 109): 🗣️ Stephane Bortzmeyer (stephane (a) sources.org)

Next in thread (62 of 109): 🗣️ cage (cage-dev (a) twistfold.it)

View entire thread.