You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 28, 2018. It is now read-only.
Hence my question, is Turbolinks.visit intended to be only used with absolute urls?
If so, the readme could be updated: there are some Turbolinks.visit usage examples with relative urls.
After some digging, it seems that this line (crossOrigin function in ComponentUrl) is the issue:
On Chrome, @origin returns correctly http://...
On IE11, it returns // -> the crossOrigin function will return false -> a full replacement will be done.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hello!
I'm using
Turbolinks.visit
manually with partial replacement. Here is an example of such call:On Chrome, FF and Safari, it works as expected.
On IE11, a full replacement is done instead of a partial one.
If I use an absolute url:
it works correctly on IE11.
Hence my question, is
Turbolinks.visit
intended to be only used with absolute urls?If so, the readme could be updated: there are some
Turbolinks.visit
usage examples with relative urls.After some digging, it seems that this line (
crossOrigin
function inComponentUrl
) is the issue:@origin
returns correctlyhttp://...
//
-> thecrossOrigin
function will returnfalse
-> a full replacement will be done.The text was updated successfully, but these errors were encountered: