Closed memee closed 5 years ago
My version of UI-Router is: 1.0.22
I have a following state setup:
$stateProvider.state('app.report', { url: '/reports/{id}?filter', [...] })
$state.go('app.report', { id: 'xxx', { filter: 'accountId=xxx' } });
localhost:7070/#/reports/xxx?filter=accountId%3Dxxx
Application behaves exactly the same whether I use $state.go or open url directly
$state.go
Terribly sorry. It was part of my code that used $urlRouterProvider.rule and decoded url.
$urlRouterProvider.rule
My version of UI-Router is: 1.0.22
Bug Report
Current Behavior:
I have a following state setup:
$state.go('app.report', { id: 'xxx', { filter: 'accountId=xxx' } });
(Note the equals char in filter)localhost:7070/#/reports/xxx?filter=accountId%3Dxxx
Expected Behavior:
Application behaves exactly the same whether I use
$state.go
or open url directly