----------------------------------------------------------------------------- Purpose: Encodes 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
| 393 | // Dest buffer should be at least as large as source buffer to guarantee room for decode. |
| 394 | //----------------------------------------------------------------------------- |
| 395 | void V_URLEncode( char *pchDest, int nDestLen, const char *pchSource, int nSourceLen ) |
| 396 | { |
| 397 | return V_URLEncodeInternal( pchDest, nDestLen, pchSource, nSourceLen, true ); |
| 398 | } |
| 399 | |
| 400 | |
| 401 | //----------------------------------------------------------------------------- |
nothing calls this directly
no test coverage detected