| Index: net/base/escape.cc
|
| ===================================================================
|
| --- net/base/escape.cc (revision 27534)
|
| +++ net/base/escape.cc (working copy)
|
| @@ -186,6 +186,16 @@
|
| return Escape(path, kPathCharmap, false);
|
| }
|
|
|
| +// non-printable, non-7bit, and (including space) ?>=<;+'&%$#"![\]^`{|}
|
| +static const Charmap kUrlEscape(
|
| + 0xffffffffL, 0xf80008fdL, 0x78000001L, 0xb8000001L,
|
| + 0xffffffffL, 0xffffffffL, 0xffffffffL, 0xffffffffL
|
| +);
|
| +
|
| +std::string EscapeUrl(const std::string& path) {
|
| + return Escape(path, kUrlEscape, true);
|
| +}
|
| +
|
| // non-7bit
|
| static const Charmap kNonASCIICharmap(
|
| 0x00000000L, 0x00000000L, 0x00000000L, 0x00000000L,
|
|
|