[XML-SIG] file urls in urllib

Thomas B. Passin tpassin@home.com
Thu, 8 Mar 2001 23:40:47 -0500


Mark D. Anderson wrote -

> on the server, suppose i am given a file: url. So i follow these rules:
>    S1. if there are exactly 0 or 1 slashes after file:, remove file: and
take the rest to be the > path, possibly relative

If it is a relative path, it can't have the "file:' part, since that was
already established by the base url.  Conversely, if the url starts with
"file:", it must be absolute, as best as I can see.

Cheers,

Tom P