Re:A minimalistic site to vent and see others doing the same...
by gitrog on Wednesday January 27, 2021 @03:01AM
(#25925507)
Sorry, would you mind explaining what this will do?
[ Parent
| on HN ]
Re:A minimalistic site to vent and see others doing the same...
by thepete2 on Wednesday January 27, 2021 @04:18AM
(#25925977)
Improper input sanitation, you can potentially add raw html to other people's pages (XSS).
Re:A minimalistic site to vent and see others doing the same...
by madhato on Wednesday January 27, 2021 @11:50AM
(#25930439)
Doesn't the regex sanitize it before display?
Re:A minimalistic site to vent and see others doing the same...
by some_random on Wednesday January 27, 2021 @01:53PM
(#25932222)
Yes but it's pretty easily bypassed