Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Routing and filesystem URL in 1.2.0-rc.3 seems broken #4804

Closed
Jusas opened this issue Nov 6, 2013 · 2 comments
Closed

Routing and filesystem URL in 1.2.0-rc.3 seems broken #4804

Jusas opened this issue Nov 6, 2013 · 2 comments

Comments

@Jusas
Copy link

Jusas commented Nov 6, 2013

I just upgraded from 1.2.0-rc.2 to rc.3 and it seems to break the local filesystem routes.
Example: in rc.2

$routeProvider.when('/', { 
        templateUrl: 'dummy/placeholder.tpl.html',
        controller: 'AppCtrl'
    });

With the URL:
file:///C:/dev/Web/TestProject/build/index.html#/

...loads fine, and the route works correctly. There is no redirecting.

However, in rc.3, the route does not work; instead it redirects by default to
file:///C:/dev/Web/TestProject/build/index.html#/C:/

Same happens to every route:
file:///C:/dev/Web/TestProject/build/index.html#/foo/bar
...becomes...
file:///C:/dev/Web/TestProject/build/index.html#/C:/foo/bar

So there's something funky going on since the 'C:/' is always inserted for some reason.

@symblify
Copy link

symblify commented Nov 6, 2013

Duplicate of #4680.

@pkozlowski-opensource
Copy link
Member

Closing as duplicate of #4680

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants