Skip to content

Commit d7edba0

Browse files
authored
Fix for identifying zip file processing and html GUI tag matching the same rule. (#156)
1 parent 80f0cf9 commit d7edba0

File tree

3 files changed

+3
-12
lines changed

3 files changed

+3
-12
lines changed
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
{
22
"profiles": {
33
"AppInspector.CLI": {
4-
"commandName": "Project",
5-
"commandLineArgs": "analyze -s c:\\temp\\main.cpp"
4+
"commandName": "Project"
65
}
76
}
87
}

AppInspector.CLI/preferences/tagreportgroups.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@
375375
"detectedIcon": "fas fa-play-circle"
376376
},
377377
{
378-
"searchPattern": "Data.Compressed",
378+
"searchPattern": "Data.Zipfile",
379379
"displayName": "Zip file processing",
380380
"detectedIcon": "far fa-file-archive"
381381
},

AppInspector/rules/default/data_handling/compressed_files.json

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,7 @@
99
"severity": "moderate",
1010
"patterns": [
1111
{
12-
"pattern": "\\.(zip|gz|gzip|gem|tar|tgz|tar.gz|xz|7z)",
13-
"type": "regex",
14-
"scopes": [ "code", "comment" ],
15-
"modifiers": [ "i" ],
16-
"confidence": "high",
17-
"_comment": ""
18-
},
19-
{
20-
"pattern": "zip|gz|gzip|gem|tar|tgz|tar\\.gz|xz|7z",
12+
"pattern": "\\.(zip|gz|gzip|gem|tar|tgz|tar\\.gz|xz|7z)",
2113
"type": "regex-word",
2214
"scopes": [ "code", "comment" ],
2315
"modifiers": [ "i" ],

0 commit comments

Comments
 (0)