WebUtility.UrlDecode(String) 메서드

정의

URL의 전송을 위해 인코딩된 문자열을 디코딩된 문자열로 변환합니다.

public:
 static System::String ^ UrlDecode(System::String ^ encodedValue);
public static string UrlDecode(string encodedValue);
public static string? UrlDecode(string? encodedValue);
static member UrlDecode : string -> string
Public Shared Function UrlDecode (encodedValue As String) As String

매개 변수

encodedValue
String

디코딩할 URL로 인코딩된 문자열입니다.

반품

디코딩된 문자열입니다.

설명

공백 및 문장 부호와 같은 문자가 HTTP 스트림에 전달되면 수신 끝에서 잘못 해석될 수 있습니다. URL 인코딩은 URL에서 허용되지 않는 문자를 동등한 16진수 이스케이프 시퀀스로 변환합니다. 16진수 이스케이프 시퀀스는 대문자로 표시됩니다. 예를 들어 문자 <> 이스케이프 시퀀스 및 %3C에 인코딩됩니다%3E. 이 메서드는 UrlEncode URL로 인코딩된 문자열을 만듭니다.

URL 디코딩은 16진수 이스케이프 시퀀스를 해당하는 ASCII 문자로 바꿉니다. 예를 들어 URL로 인코딩된 텍스트 블록에 포함된 경우 이스케이프 시퀀스는 %3c 문자 %3e<>문자로 디코딩됩니다.

적용 대상