Hi,

Am Dienstag, den 04.12.2007, 11:30 +0100 schrieb David Nuescheler:
> An example URI could like this:
> /mypage/upload.spool/my.pdf
> 
> Where the .spool extension would kick-off the spool.esp script
> that then delegates after checking the suffix with the
> originalFilename delegates
> to the WebDAV GET. This allows to expose "my.pdf" still as the "filename"
> of the browser download.

This would break my algorithm of [1]:

> (2) find the last dot in the path, everything starting with
>     the next slash is the suffix. If there is no dot, fail.

Of course changing it to say "find the _first_ dot in the path" would
fix this, assuming there are no further dots along the path.

Regards
Felix

[1]
http://www.mail-archive.com/[email protected]/msg01073.html

Reply via email to