Index: content/browser/indexed_db/indexed_db_internals_ui.cc |
diff --git a/content/browser/indexed_db/indexed_db_internals_ui.cc b/content/browser/indexed_db/indexed_db_internals_ui.cc |
index f333f5266c4b8cb6454aa16b55f50e2b4e47ddbf..81fc46cd34459492ade9dc773c4e8f8a7e46ad0b 100644 |
--- a/content/browser/indexed_db/indexed_db_internals_ui.cc |
+++ b/content/browser/indexed_db/indexed_db_internals_ui.cc |
@@ -299,8 +299,8 @@ void IndexedDBInternalsUI::OnDownloadDataReady( |
DownloadManager* dlm = BrowserContext::GetDownloadManager(browser_context); |
const GURL referrer(web_ui()->GetWebContents()->GetLastCommittedURL()); |
- dl_params->set_referrer( |
- content::Referrer(referrer, blink::WebReferrerPolicyDefault)); |
+ dl_params->set_referrer(content::Referrer::SanitizeForRequest( |
+ url, content::Referrer(referrer, blink::WebReferrerPolicyDefault))); |
// This is how to watch for the download to finish: first wait for it |
// to start, then attach a DownloadItem::Observer to observe the |