-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ember 2.11 double forward slash causes application to break #14925
Comments
Duplicate of #11801. |
@sergproua can you update your description to indicate what version of Ember you are using. If this you're using a current version of Ember then we may need to create a working example (e.g. using ember-twiddle.com) to reproduce the issue. As @locks indicated this seems to duplicate #10937. |
Hi @pixelhandler, I've updated description and will play with Ember-twiddle to build a working example and will attach. There's an easier way to recreate a problem.
just open a browser to http://localhost:4200:// Uncaught DOMException: Failed to execute 'replaceState' on 'History': A history state object with URL 'http:' cannot be created in a document with origin 'http://localhost:4200' and URL 'http://localhost:4200//'. |
#11801 is in fact a duplicate however is already closed, please advise what next steps are. |
This avoids a DOMException, which interprets duplicate `/` as a security violation and prevents the associated history state modifications.
potential fix: #14961 |
This avoids a DOMException, which interprets duplicate `/` as a security violation and prevents the associated history state modifications.
[BUGIX release] [Fixes #14925] remove duplicate `/` in pathname
This avoids a DOMException, which interprets duplicate `/` as a security violation and prevents the associated history state modifications. (cherry picked from commit fe88d54)
This avoids a DOMException, which interprets duplicate `/` as a security violation and prevents the associated history state modifications. (cherry picked from commit fe88d54)
This issue is still appearing in |
accidently entered double forward slash in path breaks the application
http://localhost:4200//
or
http://localhost:4200//some-route
route error handler never gets called to recover
The text was updated successfully, but these errors were encountered: