Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

angular breaks with ipv6 location #2864

Closed
1player opened this issue Jun 3, 2013 · 2 comments
Closed

angular breaks with ipv6 location #2864

1player opened this issue Jun 3, 2013 · 2 comments

Comments

@1player
Copy link

1player commented Jun 3, 2013

AngularJS breaks when parsing an IPv6 location such as http://[::1]:8000/

This is what I'm getting in the console:

TypeError: Cannot read property '1' of null
at matchUrl (http://[::1]:8000/static/js/angular.min.js:5064:22)
at $LocationProvider.$get (http://[::1]:8000/static/js/angular.min.js:5544:24)
at Object.invoke (http://[::1]:8000/static/js/angular.min.js:2902:28)
at http://[::1]:8000/static/js/angular.min.js:2740:37
at getService (http://[::1]:8000/static/js/angular.min.js:2862:39)
at Object.invoke (http://[::1]:8000/static/js/angular.min.js:2880:13)
at http://[::1]:8000/static/js/angular.min.js:2740:37
at getService (http://[::1]:8000/static/js/angular.min.js:2862:39)
at Object.invoke (http://[::1]:8000/static/js/angular.min.js:2880:13)
at directive (http://[::1]:8000/static/js/angular.min.js:3718:43)

Tested with Angular v1.0.4 and v1.0.7

@btford
Copy link
Contributor

btford commented Aug 24, 2013

As part of our effort to clean out old issues, this issue is being automatically closed since it has been inactivite for over two months.

Please try the newest versions of Angular (1.0.8 and 1.2.0-rc.1), and if the issue persists, comment below so we can discuss it.

Thanks!

@zanchey
Copy link

zanchey commented Jun 28, 2014

I can reproduce this on 1.2.18, although the symptoms are now different: Chrome's console lists a uncaught exception thrown in loadModules.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants