MCPcopy Create free account
hub / github.com/chen3feng/toft / EncodeUriComponentAppend

Method EncodeUriComponentAppend

encoding/percent.cpp:106–112  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

104// Encode URI Component
105
106void 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
114void PercentEncoding::EncodeUriComponentTo(const StringPiece& input, std::string* output)
115{

Callers

nothing calls this directly

Calls 1

DoEncodeAppendFunction · 0.85

Tested by

no test coverage detected