summaryrefslogtreecommitdiffhomepage
path: root/.rubocop.yml
diff options
context:
space:
mode:
authorGeremia Taglialatela <[email protected]>2023-05-23 00:07:36 +0200
committerGeremia Taglialatela <[email protected]>2023-05-23 00:07:36 +0200
commit088d388e6d4dda42d9278e6da96ac3183ff09dcd (patch)
tree876b788707fe36ea1ebe8d23384c0908b5954508 /.rubocop.yml
parent6752225bbb8a9eec905ec02a98f1a25a309c404a (diff)
downloadcaxlsx-088d388e6d4dda42d9278e6da96ac3183ff09dcd.tar.gz
caxlsx-088d388e6d4dda42d9278e6da96ac3183ff09dcd.zip
Enable Security cops
Also fixes a Security/Open offense that couldn't be exploited, because the only invocation of `get_mime_type_from_uri` was validating the input with a `URI::DEFAULT_PARSER` regexp
Diffstat (limited to '.rubocop.yml')
-rw-r--r--.rubocop.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/.rubocop.yml b/.rubocop.yml
index 4ab6b157..44874c85 100644
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@ -34,6 +34,9 @@ Minitest:
Performance:
Enabled: true
+Security:
+ Enabled: true
+
Style:
Enabled: true