From 2ae0de551d659b590f49ae230403ec5295db0335 Mon Sep 17 00:00:00 2001 From: ckcz123 Date: Thu, 21 Feb 2019 15:51:10 +0800 Subject: [PATCH] Fix decodeRoute base64 --- libs/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/utils.js b/libs/utils.js index f1910e4e..f51ca99b 100644 --- a/libs/utils.js +++ b/libs/utils.js @@ -475,7 +475,7 @@ utils.prototype.decodeRoute = function (route) { // 解压缩 try { var v = LZString.decompressFromBase64(route); - if (core.isset(v) && /^[a-zA-Z0-9:]+$/.test(v)) { + if (core.isset(v) && /^[a-zA-Z0-9+\/=:]+$/.test(v)) { route = v; } } catch (e) {}