fix: brief parameter xss vulnerability

This commit is contained in:
DIYgod
2023-02-28 10:52:32 +00:00
parent df2623805d
commit c910c4d287

View File

@@ -313,7 +313,7 @@ module.exports = async (ctx, next) => {
} }
}); });
} else { } else {
throw Error(`Invalid parameter <code>brief=${ctx.query.brief}</code>. Please check the doc https://docs.rsshub.app/parameter.html#shu-chu-jian-xun`); throw Error(`Invalid parameter brief. Please check the doc https://docs.rsshub.app/parameter.html#shu-chu-jian-xun`);
} }
} }