AngularJS All slashes in URL changed to %2F
问题 I'm having a massive problem with AngularJS routing. Up until recently everything has been fine with the following route: $routeProvider.when('/album/:albumId', { controller: 'albumPageController', templateUrl: 'views/album.html' }); and using the href: <a href="/#/album/{{album.id}}">Link</a> However, now all of the slashes are being encoded into %2F . So when I click the link, or type localhost:8000/#/album/1 into the browser, the URL is changed to: http://localhost:8000/#%2Falbum%2F1 I've