Skip to content

Commit

Permalink
Merge pull request #25 from panorama-ed/SECZ-1715-Add-LinkToBlank
Browse files Browse the repository at this point in the history
SECZ-1715: Add Rails/LinkToBlank
  • Loading branch information
rbamos authored Sep 10, 2024
2 parents b1892c5 + 265c95a commit 87c583d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions panolint-rails-rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,11 @@ AllCops:
- "db/migrate/**/*"
NewCops: enable

# This mitigates this vulnerability:
# https://owasp.org/www-community/attacks/Reverse_Tabnabbing
# While this is resolved in modern browsers, not all users have modern browsers
Rails/LinkToBlank:
Enabled: true

Rails/I18nLocaleTexts:
Enabled: false

0 comments on commit 87c583d

Please sign in to comment.