Skip to content

Commit b8f0c52

Browse files
committed
Polish ESAPI JavaScript contract wording
1 parent f442872 commit b8f0c52

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

‎esapi/src/main/java/org/owasp/encoder/esapi/ESAPIEncoder.java‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,7 @@
6161
* strings and literal text in ordinary (untagged) template literals, not JSON,
6262
* tagged templates (including {@code String.raw}), or script URLs. It escapes
6363
* DEL/C1 controls and unpaired UTF-16 surrogates while preserving valid pairs.
64-
* Its
65-
* {@code encodeForURL} delegates to deprecated {@link Encode#forUri(String)}:
64+
* Its {@code encodeForURL} delegates to deprecated {@link Encode#forUri(String)}:
6665
* it preserves URI delimiters such as {@code & = / ? #} and therefore is
6766
* not a URL-component or form encoder. For an inserted component, use
6867
* {@link Encode#forUriComponent(String)}. Validate complete URLs and their

0 commit comments

Comments
 (0)