----------------------------------------------------------------------------- Purpose: Decodes a string (or binary data) from URL encoding format, see rfc1738 section 2.2. This version of the call isn't a strict RFC implementation, but uses + for space as is the standard in HTML form encoding, despite it not being part of the RFC. Dest buffer should be at least as large as source buffer to guaran
| 519 | // Dest buffer being the same as the source buffer (decode in-place) is explicitly allowed. |
| 520 | //----------------------------------------------------------------------------- |
| 521 | size_t V_URLDecode( char *pchDecodeDest, int nDecodeDestLen, const char *pchEncodedSource, int nEncodedSourceLen ) |
| 522 | { |
| 523 | return V_URLDecodeInternal( pchDecodeDest, nDecodeDestLen, pchEncodedSource, nEncodedSourceLen, true ); |
| 524 | } |
| 525 | |
| 526 | size_t V_URLDecodeNoPlusForSpace( char *pchDecodeDest, int nDecodeDestLen, const char *pchEncodedSource, int nEncodedSourceLen ) |
| 527 | { |
nothing calls this directly
no test coverage detected