diff options
| author | Tobias Bosch | 2013-11-25 15:40:18 -0800 | 
|---|---|---|
| committer | Tobias Bosch | 2013-11-26 14:29:38 -0800 | 
| commit | 333523483f3ce6dd3177b697a5e5a7177ca364c8 (patch) | |
| tree | 34cd700540680a7d9276cd1fe231b6f72fd232ae /angularFiles.js | |
| parent | 68ceb17272bdd2ebc838565070973d93704f4427 (diff) | |
| download | angular.js-333523483f3ce6dd3177b697a5e5a7177ca364c8.tar.bz2 | |
fix($sanitize): Use same whitelist mechanism as $compile does.
`$sanitize` now uses the same mechanism as `$compile` to validate uris.
By this, the validation in `$sanitize` is more general and can be
configured in the same way as the one in `$compile`.
Changes
- Creates the new private service `$$sanitizeUri`.
- Moves related specs from `compileSpec.js` into `sanitizeUriSpec.js`.
- Refactors the `linky` filter to be less dependent on `$sanitize`
  internal functions.
Fixes #3748.
Diffstat (limited to 'angularFiles.js')
| -rwxr-xr-x | angularFiles.js | 1 | 
1 files changed, 1 insertions, 0 deletions
| diff --git a/angularFiles.js b/angularFiles.js index 9aa2ef7e..ad968341 100755 --- a/angularFiles.js +++ b/angularFiles.js @@ -27,6 +27,7 @@ angularFiles = {      'src/ng/parse.js',      'src/ng/q.js',      'src/ng/rootScope.js', +    'src/ng/sanitizeUri.js',      'src/ng/sce.js',      'src/ng/sniffer.js',      'src/ng/timeout.js', | 
