8000 The url in the address bar is not updated when a request goes through a redirect · Issue #598 · turbolinks/turbolinks · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Sep 25, 2021. It is now read-only.
This repository was archived by the owner on Sep 25, 2021. It is now read-only.
The url in the address bar is not updated when a request goes through a redirect #598
Open
@WesselKroos

Description

@WesselKroos

Describe the bug
Currently the url in the adressbar is not being updated when a xhr request follows a 302 redirect response. This is a known issue according to the comment in this issue: #362 (comment)

However contrary to that comment it is possible to get the url of the last redirect by reading the responseURL of a xhr request:
https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/responseURL
This doesn't work in IE, but works in all other browsers.

To Reproduce

  • Click a link on a website with turbolinks enabled of which the response contains a 302 redirect

Expected behavior
The url in the adress bar is being update to the url in the last redirect using the responseURL of the completed xhr request

Details (please complete the following information):

  • Operating System: macOS, iOS, Android, Linus, Windows
  • Browser: Firefox, Chrome, Safari, Opera, Edge
  • Turbolinks Version: 5.2.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0