I need to set a link with this href="file://attachments/aaaa_#_aaaa.msg" Obviously, this does not work, because the hash symbol # used for anchors.
So I'm trying to change this to: href="file://attachments/aaaa_%23_aaaa.msg" but when I open the URL in IE, the browser tries to open this: href="file://attachments/aaaa_%2523_aaaa.msg" IE encodes character % to %25
How can I put the file name in the URL to encode and read the hash symbol # in all browsers to download the file?
I cannot change the file name to remove this character, so I need a way to deal with this problem.
source share