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

Issue 729934 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 733999
Owner:
Closed: Jul 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Mac
Pri: 1
Type: Bug-Regression



Sign in to add a comment

Redirect back in different tabs problem

Reported by yogiguo8...@gmail.com, Jun 6 2017

Issue description

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

Steps to reproduce the problem:
1. open a website (mine is private with laravel on nginx server)  then open some page/form.
2. open second tab with same website with different page/form. just post some data to server (laravel return redirect()->back() ) 
3. focus on first tab, then click on SUBMIT, then laravel also return redirect()->back() to previous url.

What is the expected behavior?
On first tab, it should redirect to previous url.

What went wrong?
instead redirect to previous url, it just redirect to previous url on second tab

Did this work before? Yes 57.*

Chrome version: 59.0.3071.86  Channel: stable
OS Version: 6.1 (Windows 7, Windows Server 2008 R2)
Flash Version:
 
Labels: pre-stable-59.0.3071.86 Needs-Triage-M59
Cc: ranjitkan@chromium.org
Labels: Needs-Feedback
Could you please help us with test URL as the URL provided in the screen shot asks for credentials. Is there any other way where we can give a try.

Thanks.!
Here is custom link for test : 
1.open first tab  :
https://www.wabatam.com/testone

2.open second tab : 
https://www.wabatam.com/testtwo , press submit

3.goto first tab : 
press 'submit'

I found out, you don't need to submit on second tab, you can just go back to first tab, and click submit, it will redirect to https://www.wabatam.com/testtwo.

my server (laravel)'s simple code : 
Route::get('testone',function(){
        return "<h3>First Tab</h3><form method='post' action='testonepost'><input type='hidden' name='_token' value=".csrf_token()."><input type='submit'></form>";
});

Route::post('testonepost',function(){
        return redirect()->back();
});

Route::get('testtwo',function(){
        return "<h3>Second Tab</h3><form method='post' action='testtwopost'><input type='hidden' name='_token' value=".csrf_token()."><input type='submit'></form>";
});

Route::post('testtwopost',function(){
        return redirect()->back();
});


Project Member

Comment 5 by sheriffbot@chromium.org, Jun 13 2017

Labels: -Needs-Feedback
Thank you for providing more feedback. Adding requester "ranjitkan@chromium.org" to the cc list and removing "Needs-Feedback" label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
also you can try open one tab, try press submit as many time as you can, it will redirect back to same url, after you open second tab, try to submit again in first tab, it will show different result
Components: Blink>SecurityFeature
Labels: -Pri-2 -Needs-Triage-M59 hasbisect-per-revision M-61 OS-Linux OS-Mac Pri-1
Owner: est...@chromium.org
Status: Assigned (was: Unconfirmed)
Able to reproduce the issue on Windows 10, Ubuntu 14.04 and Mac 10.12.5 using reported version #59.0.3071.86 and latest canary #61.0.3135.0.

Bisect Information:
=====================
Good build: 56.0.2886.0	 Revision(424099)
Bad Build : 56.0.2887.0	 Revision(424315)

Change Log URL: 
https://chromium.googlesource.com/chromium/src/+log/2510d5dc6548c8f4b52d42d1f66f233cd45b7402..1c7f4eba31fca673ed6adbfd2f7e2f04394da590

From the above change log suspecting below change
Review URL: https://codereview.chromium.org/2399643002

estark@ - Could you please check whether this is caused with respect to your change, if not please help us in assigning it to the right owner.

Thanks...!!

Comment 8 by est...@chromium.org, Jul 12 2017

Mergedinto: 733999
Status: Duplicate (was: Assigned)

Sign in to add a comment