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.

LocationHashbangUrl duplicates query params in v1.1.5 #2898

Closed
@ospatil

Description

@ospatil

I have an application in which $location uses default (hashbang) mode and the base URL is something like - http://myserver.com:8080/?appStage=D. The application was upgraded to Angular 1.1.5 last week. Since then, when I enter the above url in the browser location bar I observe that the query params are getting duplicated like this - http://myserver.com:8080/?appStage=D#/welcome?appStage=D.

I have done some investigation and have created two test-cases. Here is a code of the test cases - https://gist.github.com/ospatil/5728023. These test-cases can be copied into "HashbangUrl" suite of locationSpec.js and run. The first that uses LocationHashbangUrl fails but second that uses the same url but works with LocationHtml5Url passes.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions