| Index: content/browser/frame_host/render_frame_host_impl.cc
|
| diff --git a/content/browser/frame_host/render_frame_host_impl.cc b/content/browser/frame_host/render_frame_host_impl.cc
|
| index 55f8a8bfcbf10a4b74736d4c33cd8efed9c69cb7..cee576c37901482a4d5f570688912b2c19da934b 100644
|
| --- a/content/browser/frame_host/render_frame_host_impl.cc
|
| +++ b/content/browser/frame_host/render_frame_host_impl.cc
|
| @@ -1230,6 +1230,12 @@ void RenderFrameHostImpl::OnFrameFocused() {
|
| void RenderFrameHostImpl::OnOpenURL(const FrameHostMsg_OpenURL_Params& params) {
|
| GURL validated_url(params.url);
|
| GetProcess()->FilterURL(false, &validated_url);
|
| + if (!ChildProcessSecurityPolicyImpl::GetInstance()->CanReadRequestBody(
|
| + GetSiteInstance(), params.resource_request_body)) {
|
| + bad_message::ReceivedBadMessage(GetProcess(),
|
| + bad_message::RFH_ILLEGAL_UPLOAD_PARAMS);
|
| + return;
|
| + }
|
|
|
| if (params.is_history_navigation_in_new_child) {
|
| // Try to find a FrameNavigationEntry that matches this frame instead, based
|
|
|