Open Avocher opened 6 years ago
@Avocher Do you have a simple test that we can run to reproduce the issue?
Could be on IE where window.location.origin
doesn't exist and we build our own:
const location = window.location;
const origin = location.origin || location.protocol + '//' + location.host;
if (href.indexOf(origin) !== 0) return;
To fix, we need to account for port number, but bear in mind most href
s don't contain the default port number. For full IE support the implementation would look more like iron-location.
(Or, better yet, don't use IE)
(Or, better yet, don't use IE)
I'll just leave this here... 😇
# Redirect Internet Explorer users to Chrome download page
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTP_USER_AGENT} (MSIE|IE11|Trident\/7\.) [NC]
RewriteRule ^(.*)$ https://www.google.com/chrome/ [NC,L,R]
</IfModule>
PS: Not saying this is necessarily a good idea haha
We have a dev server for handling local signin that is on separate port. This seems to crash the router with the following message:
Thanks for you this great library!