Hi,
We have a problem using the application.showURL() method. The problem is with documents uploaded by our users that contain a single quote. The fiels are stored in a unique folder in the webroot and retain their original name.
I turns out the files named with a single quote in them are not shown uring showURL.
We have tried using the original name, escape en encodeURI eacht with different results. None of them cover all situations.
Example file name: "Hello this is sam's example.txt"
/client-documents/6/31B9F5A3-94EF-4732-8019-B70F0090F6AF/Hello this is sam's example.txt (plain)
/client-documents/6/31B9F5A3-94EF-4732-8019-B70F0090F6AF/Hello%20this%20is%20sam%27s%20example.txt (escape)
/client-documents/6/31B9F5A3-94EF-4732-8019-B70F0090F6AF/Hello%20this%20is%20sam's%20example.txt (uriEncode)
Using showURL(fileref) none of the above is downloaded in the browser.
What else can we try?
Regards,
Wouter.