angular-ui / ui-router

The de-facto solution to flexible routing with nested views in AngularJS
http://ui-router.github.io/
MIT License
13.56k stars 3.01k forks source link

Infinite $digest loop when using angular 1.7.x with html5mode enabled #3709

Closed CarterLi closed 6 years ago

CarterLi commented 6 years ago

This issue tracker is for Bug Reports and Feature Requests only.

Please direct requests for help to StackOverflow. See http://bit.ly/UIR-SOF for details.

This is a (check one box):

My version of UI-Router is: (type version)

1.0.18 (latest)

Bug Report

Current Behavior:

$state.go('some_state', { param: "special character such as '" }

result in infinite $digest loop. Browser tab crashes.

image

Doesn't happen on angularjs 1.6.x

Expected Behavior:

Don't crash

Link to Plunker or stackblitz that reproduces the issue:

http://jsfiddle.net/3s4602e1/14/

CarterLi commented 6 years ago

Closed as a dup of https://github.com/angular/angular.js/issues/16592