Index: net/base/escape.h |
diff --git a/net/base/escape.h b/net/base/escape.h |
index bc58439cc6364b682149ab14b130a686583f4220..6c92333ba3db6582cf7f68c8c06e914056787c6d 100644 |
--- a/net/base/escape.h |
+++ b/net/base/escape.h |
@@ -42,8 +42,8 @@ NET_EXPORT std::string EscapeNonASCII(const std::string& input); |
// Escapes characters in text suitable for use as an external protocol handler |
// command. |
-// We %XX everything except alphanumerics and %-_.!~*'() and the restricted |
-// chracters (;/?:@&=+$,). |
+// We %XX everything except alphanumerics and -_.!~*'() and the restricted |
+// chracters (;/?:@&=+$,#[]) and a valid percent escape sequence (%XX). |
NET_EXPORT std::string EscapeExternalHandlerValue(const std::string& text); |
// Appends the given character to the output string, escaping the character if |