-
Notifications
You must be signed in to change notification settings - Fork 1.4k
url contain '%2F' instead of '/' #1380
url contain '%2F' instead of '/' #1380
Comments
Which angular version is using? if you fetch the latest Angular JS 1.6.0 version, you should downgrade angular version to 1.5.8. |
I try this solution. Thanks a lot. Sébastien |
Hi, Finally I did not need to downgrade Angular. I'm running on Angular 1.6.0. Can customize it thanks to the method $locationProvider : https://docs.angularjs.org/api/ng/provider/$locationProvider
Thanks, Sébastien |
I had the same issue which caused problems for hours yesterday. Where did you place this location provider? And are you using #!/about now or without ! |
Hi, Now, use #!/ link instead #/ link. Work fine for me.
Sébastien |
^^ This solution is the simplest and works perfectly. Thanks |
Hmmm, I tried to send a PR to fix this as suggested by Playntek but somehow it didn't work as expected. Advice welcome 🤔 |
Look Developer Guide, Migrating from 1.5 to 1.6 for more information https://docs.angularjs.org/guide/migration#migrating-from-1-5-to-1-6 |
I resolved by |
Thanks a lot @sebast1. I had wasted an hour for this problem, checking my code. Thanks a lot! |
Thank you @sebast1. You are a saviour. |
Hi,
I started a new project using the generator Yeoman for Angular.
When I used the command 'grunt serve' the webb app starting.
When I click on the navigation (about...), I notice that the corrective page does not load and the URL contain '%2F' instead '/'. So my routing does not work.
Is it an Angular or Generator (Yo) problem? Do you have an idea ?
I'm on Macbook Pro, OS El Capitan.
Thx,
Sébastien (PNT)
The text was updated successfully, but these errors were encountered: