Commit 62055852 authored by lishangke's avatar lishangke

fix

parent e3c4ee33
Pipeline #19305 passed with stage
in 7 seconds
...@@ -111,12 +111,12 @@ class ResponseController extends Controller { ...@@ -111,12 +111,12 @@ class ResponseController extends Controller {
} }
} }
const target_url1 = decodeURIComponent(target_url); const target_url1 = decodeURI(target_url);
const target_url2 = encodeURIComponent(target_url1); const target_url2 = encodeURI(target_url1);
ctx.logger.info(target_url); ctx.logger.info(target_url);
ctx.logger.info(target_url1); ctx.logger.info(target_url1);
ctx.logger.info(target_url2); ctx.logger.info(target_url2);
ctx.redirect(target_url); ctx.redirect(target_url2);
return; return;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment