| 104 | // Encode URI Component |
| 105 | |
| 106 | void PercentEncoding::EncodeUriComponentAppend(const StringPiece& input, std::string* output) |
| 107 | { |
| 108 | static const ByteSet unchanged("ABCDEFGHIJKLMNOPQRSTUVWXYZ" |
| 109 | "abcdefghijklmnopqrstuvwxyz" |
| 110 | "0123456789!'()*-._~"); |
| 111 | DoEncodeAppend(input, unchanged, output); |
| 112 | } |
| 113 | |
| 114 | void PercentEncoding::EncodeUriComponentTo(const StringPiece& input, std::string* output) |
| 115 | { |
nothing calls this directly
no test coverage detected