| Index: content/browser/browser_url_handler_impl.cc
|
| diff --git a/content/browser/browser_url_handler_impl.cc b/content/browser/browser_url_handler_impl.cc
|
| index e642e1f896aef995681e13da513e1bde446bb0f1..d22b88f52e8798b63a14990ccd110864e1c013ee 100644
|
| --- a/content/browser/browser_url_handler_impl.cc
|
| +++ b/content/browser/browser_url_handler_impl.cc
|
| @@ -19,7 +19,7 @@ namespace content {
|
| static bool HandleViewSource(GURL* url, BrowserContext* browser_context) {
|
| if (url->SchemeIs(kViewSourceScheme)) {
|
| // Load the inner URL instead.
|
| - *url = GURL(url->path());
|
| + *url = GURL(url->GetContent());
|
|
|
| // Bug 26129: limit view-source to view the content and not any
|
| // other kind of 'active' url scheme like 'javascript' or 'data'.
|
|
|