Home | History | Annotate | Download | only in template

Lines Matching refs:URL

14 // case it defangs the entire URL.
33 // explicitly indicate that such a URL is expected and safe by encapsulating it
34 // in a template.URL value.
46 // isSafeUrl is true if s is a relative URL or if URL has a protocol in
59 // urlEscaper produces an output that can be embedded in a URL query.
65 // urlNormalizer normalizes URL content so it can be embedded in a quote-delimited
66 // string or parenthesis delimited url(...).
75 // a valid hierarchical or opaque URL part.
88 // processUrlOnto appends a normalized URL corresponding to its input to b
104 // quoted attributes and unquoted CSS url(...) constructs.
153 // which separate the image URL from its metadata.
200 if url := s[start:end]; isSafeUrl(url) {
202 // we don't need to URL normalize it.
212 processUrlOnto(url, true, b)