URL with special characters does not work

I am trying to open a .pdf file in IE7 and firefox but its not working.

In fact, it is a hyperlink on the HTML page in this event with hyperlink i i. Opening a .PDF File

The problem with the file name when I used to open the file D: \ Documents \ Doc \ Trans1 \ 1 \ Pages from 818 averill avenue 1_001-5.pdf its working in all browsers, but when I tried to open the file D: \ Documents \ Doc \ Trans1 \ 1 \ Pages from 818 averill avenue # 1_001-5.pdf . I am getting the error, the page was not found in IE7 and Firefox and it works fine in IE6, Only a change to this is appended with a # in the filename.

Why won't the file open?

0


a source to share


2 answers


Change forward slashes to forward slashes and add "file: ///" at the beginning. The url then encodes a hash (# is% 23).



+2


a source


A # in a URL denotes a named anchor.



I cannot reproduce your error using FF3. Both drag and drop from Explorer and open via File | Open let you display PDF inside FF when filename contains hash

+1


a source







All Articles