Skip to content

Commit

Permalink
Fix anti-pattern links (#37)
Browse files Browse the repository at this point in the history
  • Loading branch information
voltone authored Jan 29, 2024
1 parent ef9d50f commit 399822c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/secure_coding_and_deployment_hardening/resources.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ Static analysis:

### Anti-patterns in Elixir

The Elixir documentation includes a section on [https://hexdocs.pm/elixir/what-anti-patterns.html](anti-patterns): common mistakes or indicators of potential problems in code. The unintended behaviours caused by such mistakes or problems may lead to vulnerabilities. Getting familiar with these anti-patterns and learning to avoid them can help produce cleaner code, fewer bugs, fewer surpises and therefore fewer vulnerabilities.
The Elixir documentation includes a section on [anti-patterns](https://hexdocs.pm/elixir/what-anti-patterns.html): common mistakes or indicators of potential problems in code. The unintended behaviours caused by such mistakes or problems may lead to vulnerabilities. Getting familiar with these anti-patterns and learning to avoid them can help produce cleaner code, fewer bugs, fewer surpises and therefore fewer vulnerabilities.

For instance, the [https://hexdocs.pm/elixir/code-anti-patterns.html#non-assertive-truthiness](Non-assertive truthiness) anti-pattern can lead to logic errors in authentication or authorization checks.
For instance, the [Non-assertive truthiness](https://hexdocs.pm/elixir/code-anti-patterns.html#non-assertive-truthiness) anti-pattern can lead to logic errors in authentication or authorization checks.

### Other documentation

Expand Down

0 comments on commit 399822c

Please sign in to comment.