- From: Domenic Denicola <notifications@github.com>
- Date: Fri, 09 Feb 2018 07:33:12 -0800
- To: whatwg/fetch <fetch@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 9 February 2018 15:33:47 UTC
I think the URL parsing there is incorrect. The URL parser takes two parameters: _input_ and _base_. It is called with two arguments by Fetch: _location_ and _actualResponse_'s url. So you should parse the empty string relative to the base URL given by the response URL. So you get the response URL as the resulting returned URL (= _url_ inside the algorithm). Of course by that reading I think we end up with an infinite redirect loop to itself, at least until the 20-redirect-limit is hit. So that seems like a spec bug too. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/whatwg/fetch/issues/669#issuecomment-364466896
Received on Friday, 9 February 2018 15:33:47 UTC