From 333523483f3ce6dd3177b697a5e5a7177ca364c8 Mon Sep 17 00:00:00 2001 From: Tobias Bosch Date: Mon, 25 Nov 2013 15:40:18 -0800 Subject: 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. --- angularFiles.js | 1 + 1 file changed, 1 insertion(+) (limited to 'angularFiles.js') 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', -- cgit v1.2.3