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

Method EncodeUriAppend

encoding/percent.cpp:77–83  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

75// Encode URI
76
77void PercentEncoding::EncodeUriAppend(const StringPiece& input, std::string* output)
78{
79 static const ByteSet unchanged("ABCDEFGHIJKLMNOPQRSTUVWXYZ"
80 "abcdefghijklmnopqrstuvwxyz"
81 "0123456789!#$&'()*+,-./:;=?@_~");
82 DoEncodeAppend(input, unchanged, output);
83}
84
85void PercentEncoding::EncodeUriTo(const StringPiece& input, std::string* output)
86{

Callers

nothing calls this directly

Calls 1

DoEncodeAppendFunction · 0.85

Tested by

no test coverage detected