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

Routing and HTML5-mode links broken #2537

Closed
@nil4

Description

@nil4

Given an application hosted at http://domain/en/test/, using AngularJS v1.1.5-77ff108, $location.path() does not include the /en/test prefix, and as a result, no link matches the configured routes. Reproduced in Chrome 26, Firefox 20 and IE 10 running on two separate machines (Windows 7 and 8, respectively).

See https://gist.github.com/nil4/5444928 for a complete example; you need to host these files under http://domain/en/test/ to reproduce (domain is a placeholder, you can use any host name). Expected: all links except the last one should show the partial.html view; actual: all links show the notfound.html view.

This looks like a regression from v1.1.3 and v1.1.4 where this scenario works as expected. Originally reported at #2485 but probably unrelated.

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