This commit is contained in:
2025-03-17 09:04:11 +01:00
parent 566a1b671c
commit b694b14065
3 changed files with 7 additions and 7 deletions

View File

@ -198,7 +198,7 @@ export default class Flummpress {
};
res.redirect = (target, code = 302) => {
res.writeHead(code, { Location: target });
res.writeHead(code, { Location: encodeURI(target) });
res.end();
};