Richard Hipp wrote:
I think that's an HTTP thing. In a URL, spaces are encoded as "+". So fossil is doing the right thing in converting "+" characters in the URL into spaces.

If the filename really does contain "+" symbols, then the URL should have "%2b" for each plus. ex: http://localhost/doc/trunk/README-Visual-C%2b%2b.txt

It's really an HTML form thing [1] that only applies to the query portion of the URL. In the path component, we technically should be percent-encoding spaces and leaving any instances of "+" alone, which would then allow you to reference such files normally.

That's a much more involved fix that offers very little value, though. Just file this under "the more you know."

[1] http://www.w3.org/TR/REC-html40/interact/forms.html#h-17.13.4.1
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to