If I have a file nanmed Myfile%.pdf and try to open it with a url I get the page cannot be displayed error. If I remove the % the file opens fine. Does this error occur because the % symbol is a directive to the web server that some encoded characters should follow but it finds none so essentially the server is eating the filename?
Subject: % in filename doesn’t work on the web
Yes – I would rename teh file to not use the % character.
Subject: RE: % in filename doesn’t work on the web
Or, you could keep the same filename and use @URLEncode to translate the % to something suitable for use on a URL.
Subject: @URLEncode doesn’t work
I would like to keep the % symbol because it is significant to our users. Even if I try to encode it by replacing % with %25 it doesn’t work. Are they anymore ideas out there?
Subject: RE: @URLEncode doesn’t work
Looks like this is a known open issue; SPR # ASAO5NP4NX. There doesn’t appear to be anything you can do to access the file from a web browser. You would have to rename it; sorry!
Subject: encoding % character
From my response elsewhere in this forum (search for “percent”)
In Domino 6 the http server disallows encoded percent characters. This was done as a security measure to guard against attacks which try to mask their intent by doubly encoding characters.
In 6.0.3 you can disable this with the server notes.ini setting:
HTTPAllowDecodeUrlPercent=1
Subject: Corrected .ini name
coirrection:
The notes.ini variable is:
HTTPAllowDecodedUrlPercent=1
not
HTTPAllowDecodeUrlPercent=1