UnvalidatedRequestValuesBase.RawUrl Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
When overridden in a derived class, gets the part of the requested URL that follows the website name, without triggering ASP.NET request validation.
public:
virtual property System::String ^ RawUrl { System::String ^ get(); };
public virtual string RawUrl { get; }
member this.RawUrl : string
Public Overridable ReadOnly Property RawUrl As String
Property Value
The part of the URL that follows the website name.
Exceptions
The property is not implemented.
Remarks
If the complete request URL is http://www.contoso.com/default.aspx?id=44
, the value of RawUrl is /default.aspx?id=44
.
Notes to Inheritors
If you override this property in a derived class, you must manually check the data for potential cross-site scripting attacks.
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應