Export (0) Print
Expand All

CHttpArgList::Unescape 

Call this member function to decode a string encoded with escape characters according to the Internet Architecture Board's (IAB) "Request For Comment" (RFC) rules for encoding URLs.


static void Unescape( 
   LPTSTR pstrChunk  
);

Parameters

pstrChunk

A fragment of, or a complete, URL string.

This member function will convert the following escaped string:

"some+string+with+a+tilde (%7F)"

to the following text:

"some string with a tilde (~)"

The conversion is done in-place because the unescaped string is always equal to or shorter in length than the escaped string.

Community Additions

ADD
Show:
© 2014 Microsoft