This commit is contained in:
1 parent
339df89fcf
commit
651c36367f
33 files changed
+1420
-40
No files matched your search
@@ -387,6 +387,7 @@ var xe = {
|
||||
Tt = computed(() => {
|
||||
let e = R.value?.certification_auth_template_url || ``;
|
||||
return /^(?:https?:\/\/|\/(?!\/))/i.test(e) &&
|
||||
// eslint-disable-next-line no-control-regex -- 安全边界:拒绝认证模板 URL 内的控制字符。
|
||||
!/[\\\u0000-\u0020]/.test(e)
|
||||
? e
|
||||
: ``;
|
||||
|
||||
Reference in new issue
Block a user