-
Notifications
You must be signed in to change notification settings - Fork 27.5k
fix($location): hijack area links too #5933
base: master
Are you sure you want to change the base?
Conversation
…rea\n area elements cannot have child nodes, so this test would fail
Hi, |
We made 2 public plunkr links to reveal our problem and our fix: Steps to reproduce this issue:
Here's a screenshot of the error: |
I'm sorry, but I wasn't able to verify your Contributor License Agreement (CLA) signature. CLA signature is required for any code contributions to AngularJS. Please sign our CLA and ensure that the CLA signature email address and the email address in this PR's commits match. If you signed the CLA as a corporation, please let us know the company's name. Thanks a bunch! PS: If you signed the CLA in the past then most likely the email addresses don't match. Please sign the CLA again or update the email address in the commit of this PR. |
Hi, |
It's a robot, @gion, don't worry about it =) So long as the email address matches the email you authored the commit as, should be fine |
He he :) silly me |
So I don't necessarily think this is a bad change, the fix looks pretty tiny, so we might be able to merge this. I am not positive that the changes to ngScenario are totally necessary, as it's deprecated. Anyways, get this cleaned up and we can probably merge this into 1.2.10 |
I'll review this for 1.2.12. I think we can remove some of the tests. Can you make sure you signed the CLA with the email address contained in this patch? https://github.com/angular/angular.js/pull/5933.patch |
CLA signature verified! Thank you! Someone from the team will now triage your PR and it will be processed based on the determined priority (doc updates and fixes with tests are prioritized over other changes). |
Yeah, using another element as an anchor has duplicated some test scenarios. |
@jeffbcross any updates on this thread? |
02dc2aa
to
fd2d6c0
Compare
e8dc429
to
e83fab9
Compare
4dd5a20
to
998c61c
Compare
We found a Contributor License Agreement for you (the sender of this pull request), but were unable to find agreements for all the commit author(s) or Co-authors. If you authored these, maybe you used a different email address in the git commits than was used to sign the CLA (login here to double check)? If these were authored by someone else, then they will need to sign a CLA as well, and confirm that they're okay with these being contributed to Google. |
1 similar comment
We found a Contributor License Agreement for you (the sender of this pull request), but were unable to find agreements for all the commit author(s) or Co-authors. If you authored these, maybe you used a different email address in the git commits than was used to sign the CLA (login here to double check)? If these were authored by someone else, then they will need to sign a CLA as well, and confirm that they're okay with these being contributed to Google. |
the $location service only hijacks anchor () links,
but there is one more element that has a href property and acts like a link:
the area child element () of an image map element ()