| Index: net/base/escape.h
|
| ===================================================================
|
| --- net/base/escape.h (revision 27534)
|
| +++ net/base/escape.h (working copy)
|
| @@ -11,10 +11,15 @@
|
|
|
| // Escaping --------------------------------------------------------------------
|
|
|
| -// Escape a file or url path. This includes:
|
| +// Escape a file. This includes:
|
| // non-printable, non-7bit, and (including space) "#%:<>?[\]^`{|}
|
| std::string EscapePath(const std::string& path);
|
|
|
| +// Escape an url. This includes:
|
| +// non-printable, non-7bit, and (including space) ?>=<;+'&%$#"![\]^`{|}
|
| +// Space is escaped as + and other special characters as %XX (hex).
|
| +std::string EscapeUrl(const std::string& path);
|
| +
|
| // Escape all non-ASCII input.
|
| std::string EscapeNonASCII(const std::string& input);
|
|
|
|
|