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.hash inserts two hash signs #13812

Closed
@thany

Description

@thany

When on the url index.html when I set the hash at some point to, say, "foo=bar", the url gets two hashes in it.

So, as part of a click handler or something (doesn't really matter):

$location.hash("foo=bar");

The url becomes:

index.html##foo=bar

But we should expect:

index.html#foo=bar

This is Angular 1.4.8 on Firefox 43 on Windows 10.
Also happens in Chrome 47, IE11, and Edge 13.

Metadata

Metadata

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions