Commit e3c4ee33 authored by lishangke's avatar lishangke

fix

parent cd01f7b3
Pipeline #19304 passed with stage
in 16 seconds
...@@ -110,8 +110,13 @@ class ResponseController extends Controller { ...@@ -110,8 +110,13 @@ class ResponseController extends Controller {
ctx.cookies.set(key, value, { httpOnly: false, signed: false, path: '/', overwrite: true }); ctx.cookies.set(key, value, { httpOnly: false, signed: false, path: '/', overwrite: true });
} }
} }
ctx.redirect(encodeURIComponent(target_url)); const target_url1 = decodeURIComponent(target_url);
const target_url2 = encodeURIComponent(target_url1);
ctx.logger.info(target_url);
ctx.logger.info(target_url1);
ctx.logger.info(target_url2);
ctx.redirect(target_url);
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