Showing
1 changed file
with
2 additions
and
0 deletions
@@ -33,6 +33,8 @@ const risk = { | @@ -33,6 +33,8 @@ const risk = { | ||
33 | var key = ctx.request.query.key; | 33 | var key = ctx.request.query.key; |
34 | var oldRet = ''; | 34 | var oldRet = ''; |
35 | 35 | ||
36 | + key = key.replace(/\s+/g, '+'); | ||
37 | + | ||
36 | if (key) { | 38 | if (key) { |
37 | var app = key.split('/')[0]; | 39 | var app = key.split('/')[0]; |
38 | var path = formatPath(app); | 40 | var path = formatPath(app); |
-
Please register or login to post a comment