Chromium Code Reviews

Unified Diff: content/browser/renderer_host/resource_dispatcher_host_impl.cc

Issue 11193051: To fix the cross-site post submission bug. Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix FileRead Permission Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: content/browser/renderer_host/resource_dispatcher_host_impl.cc
diff --git a/content/browser/renderer_host/resource_dispatcher_host_impl.cc b/content/browser/renderer_host/resource_dispatcher_host_impl.cc
index 894ac63232eb3095fc67b329e0780c9b144f7a06..8b9d19e909f4862f3f8c4a652e8a33c2699d9978 100644
--- a/content/browser/renderer_host/resource_dispatcher_host_impl.cc
+++ b/content/browser/renderer_host/resource_dispatcher_host_impl.cc
@@ -178,7 +178,7 @@ bool ShouldServiceRequest(ProcessType process_type,
!policy->CanReadFile(child_id, iter->path())) {
NOTREACHED() << "Denied unauthorized upload of "
<< iter->path().value();
- return false;
+ return false;/**/
}
}
}

Powered by Google App Engine