Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(64)

Unified Diff: chrome/browser/apps/app_url_redirector.cc

Issue 1956383003: Forwarding POST body into renderer after a cross-site transfer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebasing... Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/apps/app_url_redirector.cc
diff --git a/chrome/browser/apps/app_url_redirector.cc b/chrome/browser/apps/app_url_redirector.cc
index 46321f2e363e368ca4df3acc5a5f9220e74f4b32..56c4dcacd1eb3a681e513bb51fc8ad499c9f407d 100644
--- a/chrome/browser/apps/app_url_redirector.cc
+++ b/chrome/browser/apps/app_url_redirector.cc
@@ -79,7 +79,7 @@ AppUrlRedirector::MaybeCreateThrottleFor(content::NavigationHandle* handle) {
DCHECK(browser_context);
// Support only GET for now.
- if (handle->IsPost()) {
+ if (handle->GetMethod() != "GET") {
DVLOG(1) << "Skip redirection: method is not GET";
return nullptr;
}

Powered by Google App Engine
This is Rietveld 408576698