Re:A chat room inside the browser console
by grenoire on Saturday July 27, 2019 @06:49PM
(#20544734)
Oefh, this apparently doesn't page the messages, and instead loads all of them for the given domain at once at an interval—over and over again. Besides that, cool!
[ Parent
| on HN ]
The 'read' api is incredibly simple.
https://github.com/DaltonWebDev/console.chat/blob/master/api...
Make it a habit to always filter user input. Eg. Variables put into paths and SQL.
I have patched the path traversal security bug in production, just haven’t pushed to GitHub. This project was coded upwards of 6 months ago I’ve learned a lot since then.