URL-encode # in file: URLs.

The final piece to fixing Bug 798392.
This commit is contained in:
John Ralls 2022-03-01 13:26:12 -08:00
parent 81b9a02235
commit aeefd89343

View File

@ -409,7 +409,7 @@
(define unreserved-chars-rfc3986
(char-set-union
(string->char-set "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789")
(string->char-set ":/?#[]@") ;gen-delims
(string->char-set ":/?[]@") ;gen-delims
(string->char-set "-._~")))
;;path must be absolute. On Windows an absolute path begins with a