This repository has been archived by the owner on Apr 12, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 27.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix($compile): properly sanitize xlink:href attribute interoplation
Closes #12524
- Loading branch information
1 parent
181fc56
commit f33ce17
Showing
2 changed files
with
49 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
f33ce17
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So, how exactly do I update my local copy of angular.min.js with this fix? I am running 1.4.7.
f33ce17
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This fix was introduced in v1.5.0-beta.1, so you would have to upgrade.
(Since this seems to be a trivial change, you could possibly manually patch your local copy, but this approach is more error prone and less future proof, so I wouldn't recommend it.)
f33ce17
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, but I cannot upgrade to 1.5 at this moment. Or can I? we are still using 1.4.7. Will the upgrade have any breaking changes?
f33ce17
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, there are breaking changes. You can find more info in the changelog and the Migration Guide.
f33ce17
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will definitely take a look but what's the bottom line? Will I have to change any code?
f33ce17
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Depends on your app. If you are using features that where affected by breaking changes, then you will need to change code.