> From: Marsh, Drew [mailto:[EMAIL PROTECTED]]
> Chris Anderson [mailto:[EMAIL PROTECTED]] wrote:
>
> > > Server.HTMLEncode does not affect this character, so you
> > have to mung
> > > it manually :-(
>
> You don't want to use Server.HtmlEncode, you want to use
> Server.UrlEncode.
Doh!
Thanks,
Chris Anderson [mailto:[EMAIL PROTECTED]] wrote:
> > Server.HTMLEncode does not affect this character, so you
> have to mung
> > it manually :-(
You don't want to use Server.HtmlEncode, you want to use Server.UrlEncode.
HTH,
Drew
You can read messages from the DOTNET archive, unsubscribe from
I should add that this is for Admin pages..of course there's no need to pass
the user name via the QueryString normally ;-)
Merak
> -Original Message-
> From: Chris Anderson [mailto:[EMAIL PROTECTED]]
> Sent: 22 April 2002 13:39
> To: [EMAIL PROTECTED]
> Subject:
Also reported at http://support.microsoft.com/support/feedback/
Posted here FYI (because it wasted an hour or so of my time)
When executing :
Response.Redirect("~/default.aspx?user=" & userID)
when userID is a Windows Authenticated user (ie is in the form
"domain\user"), the "\" is changed to