This commit is contained in:
Flummi committed 2025-03-17 09:04:11 +01:00
1 parent 566a1b671c
commit b694b14065
3 files changed
+7 -7

No files matched your search

+1 -1
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();
};