Chromium Code Reviews| Index: chrome_frame/utils.cc |
| diff --git a/chrome_frame/utils.cc b/chrome_frame/utils.cc |
| index 7c8b713ee9bf2e4591d80a5880b8a8216183fb2a..d768e4ff6c4682e0b62b3a5fcf3419e2c572467f 100644 |
| --- a/chrome_frame/utils.cc |
| +++ b/chrome_frame/utils.cc |
| @@ -1009,7 +1009,7 @@ bool IsValidUrlScheme(const GURL& url, bool is_privileged) { |
| // Additional checking for view-source. Allow only http and https |
| // URLs in view source. |
| if (url.SchemeIs(content::kViewSourceScheme)) { |
| - GURL sub_url(url.path()); |
| + GURL sub_url(url.Content()); |
|
joth
2013/09/19 22:50:02
GetContent
Kristian Monsen
2013/09/20 05:57:31
Done.
|
| if (sub_url.SchemeIs(content::kHttpScheme) || |
| sub_url.SchemeIs(content::kHttpsScheme)) |
| return true; |