Add files via upload

This commit is contained in:
n3rddd 2024-06-08 18:52:41 +08:00 committed by GitHub
parent 8f6747fc8d
commit b79504f03e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View File

@ -264,7 +264,7 @@ function pre() {
let rule = {};
let vercode = typeof (pdfl) === 'function' ? 'drpy2.1' : 'drpy2';
const VERSION = vercode + ' 3.9.50beta26 20240605';
const VERSION = vercode + ' 3.9.50beta27 20240608';
/**
* 1.影魔的jinjia2引擎不支持 {{fl}}对象直接渲染 (有能力解决的话尽量解决下支持对象直接渲染字符串转义,如果加了|safe就不转义)[影魔牛逼最新的文件发现这问题已经解决了]
* Array.prototype.append = Array.prototype.push; 这种js执行后有毛病,for in 循环列表会把属性给打印出来 (这个大毛病需要重点排除一下)
@ -2946,7 +2946,7 @@ function proxyParse(proxyObj) {
log('准备执行本地代理规则:\n' + proxyObj.proxy_rule);
try {
eval(proxyObj.proxy_rule);
if (input && input !== proxyObj.params && Array.isArray(input) && input.length === 3) {
if (input && input !== proxyObj.params && Array.isArray(input) && input.length >= 3) {
return input
} else {
return [404, 'text/plain', 'Not Found']

File diff suppressed because one or more lines are too long