Kristofer
Mon May 09 07:20:10 CDT 2005
Is a redirection happening? Because IIS does not reply with a new URL to
the client, that the client shows the user, when the user requests some
content.
You cannot change the IIS behavior of replacing the hyphen character with
%2D when a redirection happening. And you should not have to do that
either, because all applications should treat the hyphen character and %2D
equally (according to the RFC).
IIS encodes some characters to prevent cross-site scripting. The hyphen
character is included in this "list".
I have some more information about this here:
http://www.gafvert.info/notes/IIS6EncodesCharactersRedirect.htm
--
Regards,
Kristofer Gafvert
www.gafvert.info - My Articles and help
www.ilopia.com
Ant Brassington wrote:
> Hi There
>
> I have recently moved a site to IIS 6 from 5 where it was working fine.
It
> has gone ok after enabling CGI Extensions and adding the Java MIME
Types. I
> have one issue however.
> The Default URL for the Virtual Directory site contains a Hyphen i.e.
>
http://Servername/Self-Service/default.htm when connect to this URL on
an IIS
> 5 or 4 server then it stays the same on IIS 6 it changes to
>
http://Servername/Self%2DService/default.htm
>
> Is there any way to change it so IIS 6 will use the original URL?
>
> Thanks
> Ant