Skip to content

Commit 66f40c9

Browse files
authored
修复规则插件无法正确过滤content-type
1 parent 0b0b1e7 commit 66f40c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/official/plugin.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3189,7 +3189,7 @@ if (algorithmConfig.response_dataLeak.action != 'ignore') {
31893189
var items = [], parts = []
31903190

31913191
// content-type 过滤
3192-
if ( ! content_type && ! dataLeakContentType.test(content_type)) {
3192+
if ( ! content_type || ! dataLeakContentType.test(content_type)) {
31933193
return clean
31943194
}
31953195

0 commit comments

Comments
 (0)