Index: chrome/browser/plugins/plugin_observer.cc |
diff --git a/chrome/browser/plugins/plugin_observer.cc b/chrome/browser/plugins/plugin_observer.cc |
index dfd0577432c97e4d78876ee5a6081bce51e39ad8..53b96a03150e751e9a685239879fe0ed708bd6db 100644 |
--- a/chrome/browser/plugins/plugin_observer.cc |
+++ b/chrome/browser/plugins/plugin_observer.cc |
@@ -441,8 +441,10 @@ void PluginObserver::OnRemovePluginPlaceholderHost(int placeholder_id) { |
void PluginObserver::OnOpenAboutPlugins() { |
web_contents()->OpenURL(OpenURLParams( |
GURL(chrome::kChromeUIPluginsURL), |
- content::Referrer(web_contents()->GetURL(), |
- blink::WebReferrerPolicyDefault), |
+ content::Referrer::SanitizeForRequest( |
+ GURL(chrome::kChromeUIPluginsURL), |
+ content::Referrer(web_contents()->GetURL(), |
+ blink::WebReferrerPolicyDefault)), |
NEW_FOREGROUND_TAB, ui::PAGE_TRANSITION_AUTO_BOOKMARK, false)); |
} |