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
url is undefined
trimEmptyHash@http://............/angular.js?tag=2016020919:12165:3
If I navigate to /fr/?arg=1 (with the trailing slash) the error goes away.
In this context, is this a bug? How to get the query string to work without a trailing slash? "Normal" people typing a url normally will never put a slash before the question mark...
Note: I don't know if this is a ui-router or an angularjs issue. I checked this and tried the 2 mentioned solutions:
strictMode to false didn't change anything
even if I use the latest ui-router, I tried using a rule. A breakpoint inside the rule is not even reached and so the problem is still there.
The text was updated successfully, but these errors were encountered:
Seems I can't. Tell me if I'm wrong, but how can I create a plunkr to simulate what happens when a url is typed on the browser address bar?
That said, I now think the issue is more on the angularjs side.
Using Angular 1.4 or 1.5 in an asp.net mvc site
I have a base tag:
<base href="/fr/">
and html5mode is set.
The site works perfectly. I use ui-router... no issues.
But today I hit one and this is when I try to browse to this kind of url:
http://example.com/fr?arg=1
I get an error from angular:
If I navigate to /fr/?arg=1 (with the trailing slash) the error goes away.
In this context, is this a bug? How to get the query string to work without a trailing slash? "Normal" people typing a url normally will never put a slash before the question mark...
Note: I don't know if this is a ui-router or an angularjs issue. I checked this and tried the 2 mentioned solutions:
The text was updated successfully, but these errors were encountered: