From 1293da1cf7c11df8eb57af12d803fbb3ee6d728b Mon Sep 17 00:00:00 2001 From: Ben Lesh Date: Fri, 29 Mar 2019 12:54:47 -0700 Subject: [PATCH] refactor(core): update docs (#29600) PR Close #29600 --- packages/core/src/sanitization/url_sanitizer.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/src/sanitization/url_sanitizer.ts b/packages/core/src/sanitization/url_sanitizer.ts index 9cd29e1bb5..0feafdadc7 100644 --- a/packages/core/src/sanitization/url_sanitizer.ts +++ b/packages/core/src/sanitization/url_sanitizer.ts @@ -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.