[Webkit-unassigned] [Bug 144320] URL paths should not be normalized when encoded
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Jul 23 01:15:54 PDT 2015
https://bugs.webkit.org/show_bug.cgi?id=144320
--- Comment #16 from Carlos Garcia Campos <cgarcia at igalia.com> ---
(In reply to comment #15)
> (In reply to comment #14)
> > Updated patch to do the normalization or not depending on the platform. Also
> > removed the form data filename, as I'm not sure about that case. Darin, is
> > it correct to assume that PLATFORM(COCOA) means HFS?
>
> Itâs not correct to assume that. Macs support NFS, for example.
>
> Itâs true that most older Unix systems have filenames that are an arbitrary
> string of bytes; the typical restriction is simply that none of the bytes
> can be '\0' or '/'. But note that the string of bytes canât necessarily be
> converted into a sequence of UTF-16 code points. There could easily be a
> filename thatâs not a valid UTF-8 sequence. How would we handle that?
>
So, that's another reason not to normalize filenames in URL, no?
> When we are talking about URLs, what matters is the file system on the
> server, not on the client.
Oops, of course, you are right.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150723/ec5cdb0f/attachment-0001.html>
More information about the webkit-unassigned
mailing list