修复提交正则过滤时,因为正则中存在冒号,错误的将所有的冒号用于分割,应该只使用第一个冒号分割

pull/553/head
jd82k 1 year ago committed by GitHub
parent 32b8cdf9bc
commit c735dab40d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 4
      plugins/op_waf/index.py

@ -40,11 +40,11 @@ def getArgs():
if args_len == 1:
t = args[0].strip('{').strip('}')
t = t.split(':')
t = t.split(':', 1)
tmp[t[0]] = t[1]
elif args_len > 1:
for i in range(len(args)):
t = args[i].split(':')
t = args[i].split(':', 1)
tmp[t[0]] = t[1]
return tmp

Loading…
Cancel
Save