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>"
,
Jan 22 2018
Bug can be closed. This strange behaviour was caused by a bug in an extension.
,
Jan 22 2018
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
,
Jan 22 2018
|
|||
►
Sign in to add a comment |
|||
Comment 1 by sc00335...@techmahindra.com
, Jan 22 2018Components: 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!950 KB
950 KB View Download