parent
7c1f73ac7b
commit
1293da1cf7
|
@ -15,7 +15,7 @@ import {isDevMode} from '../util/is_dev_mode';
|
|||
* execution if used in URL context within a HTML document. Specifically, this
|
||||
* regular expression matches if (comment from here on and regex copied from
|
||||
* Soy's EscapingConventions):
|
||||
* (1) Either a protocol in a whitelist (http, https, mailto or ftp).
|
||||
* (1) Either an allowed protocol (http, https, mailto or ftp).
|
||||
* (2) or no protocol. A protocol must be followed by a colon. The below
|
||||
* allows that by allowing colons only after one of the characters [/?#].
|
||||
* A colon after a hash (#) must be in the fragment.
|
||||
|
|
Loading…
Reference in New Issue