add code scanning codeql and eslint workflows as well as fix formating#321
add code scanning codeql and eslint workflows as well as fix formating#321pk3zip wants to merge 10 commits intocodergautam:mainfrom
Conversation
|
This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on this overview. Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out the documentation. |
| if (module.exports.bannedIps.includes(ip)) | ||
| module.exports.bannedIps = module.exports.bannedIps.filter((b) => b != ip); | ||
| res.send("unbanned "+ip); | ||
| res.send("unbanned "+ip.replaceAll("<", "<").replaceAll(">", "$gt;")); |
Check warning
Code scanning / CodeQL
Reflected cross-site scripting
|
Advanced security 🗿 |
|
me: filters html tags in user input |
|
@codergautam review please |
|
will do soon, rn focusing on v2 |
|
holy balls i just caught a wild gautam reply |
No description provided.