Skip to content

Commit

Permalink
fix: brief parameter xss vulnerability
Browse files Browse the repository at this point in the history
  • Loading branch information
DIYgod committed Feb 28, 2023
1 parent df26238 commit c910c4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/middleware/parameter.js
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ module.exports = async (ctx, next) => {
}
});
} 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`);
}
}

Expand Down

0 comments on commit c910c4d

Please sign in to comment.