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

Closed
Closed

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.

Activity

  1. Siyfion commented on May 24, 2013

    @Siyfion

    Already mentioned in issue #2762

  2. petebacondarwin commented on May 24, 2013

    @petebacondarwin
    Contributor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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