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

Unified Diff: Source/WebCore/loader/SubresourceLoader.cpp

Issue 12568009: Merge 145735 "REGRESSION(r137607): Redirecting a post to a get then reloading triggers resubmit war… (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1410/
Patch Set: Created 7 years, 9 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: Source/WebCore/loader/SubresourceLoader.cpp
===================================================================
--- Source/WebCore/loader/SubresourceLoader.cpp (revision 146222)
+++ Source/WebCore/loader/SubresourceLoader.cpp (working copy)
@@ -131,7 +131,7 @@
RefPtr<SubresourceLoader> protect(this);
ASSERT(!newRequest.isNull());
- if (!previousURL.isNull() && previousURL != newRequest.url()) {
+ if (!redirectResponse.isNull()) {
if (!m_documentLoader->cachedResourceLoader()->canRequest(m_resource->type(), newRequest.url())) {
cancel();
return;
« no previous file with comments | « LayoutTests/http/tests/navigation/post-redirect-get-reload-expected.txt ('k') | Source/WebCore/testing/Internals.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698