diff options
Diffstat (limited to 'ui/base/webui/web_ui_util.cc')
| -rw-r--r-- | ui/base/webui/web_ui_util.cc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/ui/base/webui/web_ui_util.cc b/ui/base/webui/web_ui_util.cc index e83ea68..0f91f3f 100644 --- a/ui/base/webui/web_ui_util.cc +++ b/ui/base/webui/web_ui_util.cc @@ -91,9 +91,10 @@ bool ParseScaleFactor(const base::StringPiece& identifier, void ParsePathAndScale(const GURL& url, std::string* path, float* scale_factor) { - *path = net::UnescapeURLComponent(url.path().substr(1), - (net::UnescapeRule::URL_SPECIAL_CHARS | - net::UnescapeRule::SPACES)); + *path = net::UnescapeURLComponent( + url.path().substr(1), + net::UnescapeRule::URL_SPECIAL_CHARS_EXCEPT_PATH_SEPARATORS | + net::UnescapeRule::SPACES); if (scale_factor) *scale_factor = 1.0f; |
