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

@Jusas

Description

@Jusas

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions