On Wed, 14 Jan 2009, Jürgen Spitzmüller wrote:
Uwe Stöhr wrote:
Do you also document this, as well as that "\" (which is a valid
character in
> unix paths) must be inserted as "\\"?
"\" is not allowed in \href, that was the bug. This is independent if it is
valid in some case or not. Unix-paths use "/" not "\" as far as I know.
Note that \href takes only URI paths. And "\" cannot be inserted as "\\"
because this is a line break.
/home/juergen/test\test/somefile.pdf is valid on Unix. How am I supposed
to enter such a path?
The syntax that's allowed for the path part depends on the scheme (of
which HTTP is one).
Anyway, backslash is one of the "unwise" characters to use and ought to be
encoded as %5C even though it looks ugly.
If you happen to have a filename containg a slash, encode it as %2F.
regards
/Christian
--
Christian Ridderström, +46-8-768 39 44 http://www.md.kth.se/~chr