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.
feat($sce): simpler patterns for $sceDelegateProviders white/blacklists
Closes #4006
- Loading branch information
Showing
4 changed files
with
300 additions
and
49 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
@ngdoc error | ||
@name $sce:imatcher | ||
@fullName Invalid matcher (only string patterns and RegExp instances are supported) | ||
@description | ||
|
||
Please see {@link api/ng.$sceDelegateProvider#resourceUrlWhitelist | ||
$sceDelegateProvider.resourceUrlWhitelist} and {@link | ||
api/ng.$sceDelegateProvider#resourceUrlBlacklist $sceDelegateProvider.resourceUrlBlacklist} for the | ||
list of acceptable items. |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
@ngdoc error | ||
@name $sce:iwcard | ||
@fullName The sequence *** is not a valid pattern wildcard | ||
@description | ||
|
||
The strings in {@link api/ng.$sceDelegateProvider#resourceUrlWhitelist | ||
$sceDelegateProvider.resourceUrlWhitelist} and {@link | ||
api/ng.$sceDelegateProvider#resourceUrlBlacklist $sceDelegateProvider.resourceUrlBlacklist} may not | ||
contain the undefined sequence `***`. Only `*` and `**` wildcard patterns are defined. |
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
Oops, something went wrong.