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
in Firefox and Chrome, history.pushState('//example.com/foo') will be equivalent to history.pushSate('/foo') bringing you to 'http://example.com/foo'.
In history.js, history.pushState('//example.com/foo') brings you to 'http://example.com/example.com/foo'. History.js should recognize that as a protocol relative URL and treat it accordingly.
The text was updated successfully, but these errors were encountered:
I've noticed this as well. Protocol-less URLs are an awesome feat to have if making your page available both with http and https. I'll submit a pull request in a few minutes.
in Firefox and Chrome, history.pushState('//example.com/foo') will be equivalent to history.pushSate('/foo') bringing you to 'http://example.com/foo'.
In history.js, history.pushState('//example.com/foo') brings you to 'http://example.com/example.com/foo'. History.js should recognize that as a protocol relative URL and treat it accordingly.
The text was updated successfully, but these errors were encountered: