Skip to content

Commit 8225a67

Browse files
committed
Fix 2 typos identified by @xeno6696.
1 parent 02f4a91 commit 8225a67

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/org/owasp/esapi/Encoder.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@
160160
* By following that advice, you will minimize the impact and/or likelihood of any
161161
* vulnerabilities from bugs in the ESAPI code or accidental misuse of the ESAPI
162162
* library on your part. In particular, whenever there are cases where cients use
163-
* any of these {@link org.owasp.esapi.codecs.Codec} classes drectly, it is highly
163+
* any of these {@link org.owasp.esapi.codecs.Codec} classes directly, it is highly
164164
* recommended to perform canonicalization followed by strict input valiation both
165165
* prior to encoding and after decoding to protect your application from input-based
166166
* attacks.
@@ -425,7 +425,7 @@ public interface Encoder {
425425
* </p><p>
426426
* <b>SECURITY WARNING:</b> This method is <u>NOT</u> recommended. The use of the {@code PreparedStatement}
427427
* interface is the preferred approach. However, if for some reason
428-
* this is impossible, then this method is provided as significantly weaker
428+
* this is impossible, then this method is provided as a significantly weaker
429429
* alternative. In particular, it should be noted that if all you do to
430430
* address potential SQL Injection attacks is to use this method to escape
431431
* parameters, you <i>will</i> fail miserably. According to the

0 commit comments

Comments
 (0)