mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-17 15:40:22 +00:00
15 lines
610 B
Text
15 lines
610 B
Text
@ngdoc error
|
|
@name $sce:unsafe
|
|
@fullName Require a safe/trusted value
|
|
@description
|
|
|
|
The value provided for use in a specific context was not found to be safe/trusted for use.
|
|
|
|
Angular's {@link api/ng.$sce Strict Contextual Escaping (SCE)} mode
|
|
(enabled by default), requires bindings in certain
|
|
contexts to result in a value that is trusted as safe for use in such a context. (e.g. loading an
|
|
Angular template from a URL requires that the URL is one considered safe for loading resources.)
|
|
|
|
This helps prevent XSS and other security issues. Read more at {@link
|
|
api/ng.$sce Strict Contextual Escaping (SCE)}
|
|
|