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

fix($location): don't rewrite hash-fragment links in same document #8508

Closed
wants to merge 3 commits into from

Conversation

caitp
Copy link
Contributor

@caitp caitp commented Aug 6, 2014

$location will no longer rewrite hash fragment links in the same document
(specified via href="#hash...").

Closes #8478

@caitp
Copy link
Contributor Author

caitp commented Aug 6, 2014

Blocked on #8492 (the reverted commits include some tests because of this CL).

This only deals with relative links, and not checking if the rewritten path is the same minus the hash fragment. Should do that too.

…n html5Mode

This reverts commit 3f04770.

Conflicts:
	src/ng/location.js
$location will no longer rewrite hash fragment links in the same document (specified via href="#hash...").

Closes angular#8478
@IgorMinar
Copy link
Contributor

the last commit looks good. still need to review #8492

@caitp
Copy link
Contributor Author

caitp commented Oct 1, 2014

This seems to have been fixed by 2294880 (or one of the related $location fixes)

@caitp caitp closed this Oct 1, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Is AngularJS messing up with CSS :target selectors?
3 participants