Hi Andrew,

thanks you for your report, you're right there is a bug when the file name contains a "%" (I don't think it's the case for other special characters).
I've just found it, and need some tests. It will available very soon.


Best regards,
Thierry Boileau
--
Restlet ~ Core developer ~ http://www.restlet.org <http://www.restlet.org/>
Noelios Technologies ~ Co-founder ~ http://www.noelios.com <http://www.noelios.com/>


Hi Stephan,

Thanks for the prompt reply.

Perhaps I should have been more specific.

Let's say the Filename is /tmp/per%cent. When The Directory Resource is directed
to /tmp as it's base it will display the problematic file as

<a href="https://localhost/resturl/per%25cent";>per%25cent</a>

This I completely understand. Following the link however results in Error 404,
whereas the other files with no percent in their name work correctly.

I appreciate that the filename needs to be percent encoded in order to
participate in the URL, however I suspect there is an issue in the unencoding,
or at least the resolution of the filename used to access the FileSystem.

Thanks Again

Andrew.

Reply via email to