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

Issue 803860 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner: ----
Closed: Jan 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug



Sign in to add a comment

XMLHttpRequest changes destination URL in rare cases

Reported by sebastia...@gmail.com, Jan 19 2018

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36

Steps to reproduce the problem:
r = new XMLHttpRequest()
r.open("POST", "/rate/1", true, undefined, undefined)
r.send(null)

What is the expected behavior?
This should POST to "/rate/1".

What went wrong?
This actually POSTs to "/rate".

Did this work before? N/A 

Does this work in other browsers? Yes

Chrome version: 63.0.3239.132  Channel: stable
OS Version: OS X 10.13.2
Flash Version: 

It works with "/rate/e", "/api/1", etc... But not with "/rate/<integer>"
 
Cc: sc00335...@techmahindra.com
Components: Blink>Network>XHR
Labels: Needs-Feedback Triaged-ET Needs-Triage-M63
Tested the issue on reported version 63.0.3239.132 using Mac 10.13.1 and observing below output.

1. Opened devtools console on NTP.
2. Pasted r = new XMLHttpRequest()
r.open("POST", "/rate/1", true, undefined, undefined)
r.send(null) in console.
3. Observed undefined and error POST https://www.google.co.in/rate/1 404()

@Reporter: Could you please let us know if we miss anything. If possible please guide us with video on how to reproduce this issue. This would help in further debugging of the issue.

Thanks!
803860.mp4
950 KB View Download
Bug can be closed.
This strange behaviour was caused by a bug in an extension.
Project Member

Comment 3 by sheriffbot@chromium.org, Jan 22 2018

Labels: -Needs-Feedback
Thank you for providing more feedback. Adding requester "sc00335628@techmahindra.com" to the cc list and removing "Needs-Feedback" label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Status: WontFix (was: Unconfirmed)

Sign in to add a comment