From acadb6c826ba57f2030a626f1de4f7b4608fcdb5 Mon Sep 17 00:00:00 2001 From: ready-research <72916209+ready-research@users.noreply.github.com> Date: Thu, 2 Sep 2021 19:38:46 +0530 Subject: [PATCH] Security fix for ReDoS Fixed Regular Expression Denial of Service vulnerability in url validation --- packages/taro-helper/src/constants.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/taro-helper/src/constants.ts b/packages/taro-helper/src/constants.ts index cc2d6070c44c..06c0d0832aaf 100644 --- a/packages/taro-helper/src/constants.ts +++ b/packages/taro-helper/src/constants.ts @@ -104,7 +104,7 @@ export const REG_JSON = /\.json(\?.*)?$/ export const REG_UX = /\.ux(\?.*)?$/ export const REG_TEMPLATE = /\.(wxml|axml|ttml|qml|swan|jxml)(\?.*)?$/ export const REG_WXML_IMPORT = /