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.

$location regression #2774

@geddski

Description

@geddski

@mhevery your recent commit 58ef323 added a regression: If you land on a deep URL the base gets incorrectly set so routes break. Example URL:

http://localhost:8080/page/2 --> base is http://localhost:8080/page but should be http://localhost:8080/.

This sets $location.$$path to /2 when it should be /page/2.

stripFile() is the culprit I believe.

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