New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 784928 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 766715
Owner:
Last visit > 30 days ago
Closed: Nov 2017
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug-Regression



Sign in to add a comment

Post vars not displaying under certain conditions

Reported by koop...@gmail.com, Nov 14 2017

Issue description

UserAgent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36

Steps to reproduce the problem:
1. From browsing a file something.php?foo=bar, make a post request to the same URL, including the query string.
2. When that request comes in, using server code, redirect using 302 to a page with the same URL (including query string), but no post vars of course. Using PHP, this can be done with header("Location: something.php?foo=bar")

What is the expected behavior?
I expect the Network tab of the Developer Tools to show two pages.  One is the initial post request, and one is the redirected page.  This works fine.  (You have to select Preserve log, and the initial redirect is found in Other, and the other is found in the Doc).

However, in the first request, the POST request, I expect to see the POST variables displayed at the bottom when I click the file URL.  They are not there.  Only the Get variables (foo=bar) are shown.

What went wrong?
The POST request is not displaying the POST variables.

Did this work before? Yes Unknown

Chrome version: 61.0.3163.100  Channel: stable
OS Version: 6.1 (Windows 7, Windows Server 2008 R2)
Flash Version: 

It works in Firefox.
 

Comment 1 by l...@chromium.org, Nov 15 2017

Owner: allada@chromium.org
Thanks for the report.  Unfortunately, I cannot reproduce the bug.  I tried the following steps and was able to see the initial post request in DevTools' Network panel with form data at the bottom:
- Went to http://httpstat.us
- Opened Network panel with 'Preserve log'
- Evaluated this in console:
var http = new XMLHttpRequest();
var url = "https://httpstat.us/302";
var params = "lorem=ipsum&name=binny";
http.open("POST", url, true);
http.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
http.send("foo=bar&baz=buzz");

- Was able to see the correct form data for the original POST request in Network


Could you please help us investigate by sending us a file to repro?  allada@, do you have ideas on what might be going on?

Comment 2 by allada@chromium.org, Nov 15 2017

Mergedinto: 766715
Status: Duplicate (was: Unconfirmed)

Sign in to add a comment