Skip to content

Commit

Permalink
Fix broken link in rules table (#431)
Browse files Browse the repository at this point in the history
The latest java rule reference link in the rules table has a typo thus
given the users a broken link.

Signed-off-by: Eric Brown <eric.brown@securesauce.dev>
  • Loading branch information
ericwb committed Apr 18, 2024
1 parent 79c0b31 commit dacb878
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/rules.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
| JAV002 | [java.security — weak hash](rules/java/stdlib/java-security-weak-hash.md) | Reversible One Way Hash in `java.security` Package |
| JAV003 | [java.security — weak key](rules/java/stdlib/java-security-weak-key.md) | Inadequate Encryption Strength Using Weak Keys in `java.security` Package |
| JAV004 | [java.security — weak random](rules/java/stdlib/java-security-weak-random.md) | Use of Cryptographically Weak Pseudo-Random Number Generator `SHA1PRNG` |
| JAV005 | [javax.servlet.http — insecure cookie](rules/java/stdlib/javax-servlet-http-insecure_cookie.md) | Sensitive Cookie in HTTPS Session Without 'Secure' Attribute |
| JAV005 | [javax.servlet.http — insecure cookie](rules/java/stdlib/javax-servlet-http-insecure-cookie.md) | Sensitive Cookie in HTTPS Session Without 'Secure' Attribute |

## Python Standard Library

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
```java
import javax.servlet.http.Cookie;
public class CookieSecureFalse {
public class SessionCookie {
public static void main(String[] args) {
Cookie cookie = Cookie();
cookie.setSecure(false);
Expand All @@ -39,7 +39,7 @@
```java
import javax.servlet.http.Cookie;
public class CookieSecureFalse {
public class SessionCookie {
public static void main(String[] args) {
Cookie cookie = Cookie();
cookie.setSecure(true);
Expand Down

0 comments on commit dacb878

Please sign in to comment.