SrcModel
Allows to manipulate the the represented CSP field's value.
implements: hash, method, scalar
bundle: standard portal bundle
since 2.3.6
Allows to manipulate the the represented CSP field's value.
Defined hash keys
nonce ↦ String
since 2.3.6
Adds and returns a uuid as 'nonce-<uuid>' value
self ↦ SrcModel
since 2.3.6
Adds value 'self'
unsafeInline ↦ SrcModel
since 2.3.6
Adds value 'unsafe-inline'
usafeEval ↦ SrcModel
since 2.3.6
Adds value 'unsafe-eval'
Methods
add(String:value) ↦ String:value
since 2.3.6
Allows to add a value (replaces 'url()', 'url()' still supported)
[used as method](String:url) ↦ String:value
since 2.3.6
Add a url, parameter is parsed as URL.