UnvalidatedRequestValues.RawUrl Property


Gets the part of the requested URL that follows the website name, without triggering ASP.NET request validation.

 property System::String ^ RawUrl { System::String ^ get(); };
public string RawUrl { get; }
member this.RawUrl : string
Public ReadOnly Property RawUrl As String

Property Value

The part of the URL that follows the website name.



If you use this property, you must manually check the data for potential cross-site scripting attacks.

If the complete request URL is http://www.contoso.com/default.aspx?id=44, the value of RawUrl is /default.aspx?id=44.

Applies to