martaannaj / RecommenderServer

GNU General Public License v3.0
1 stars 2 forks source link

Fix code scanning alert - Log entries created from user input #11

Closed miselico closed 2 years ago

miselico commented 2 years ago

Tracking issue for:

Currently, we are printing the user request after parsing it. This can only be valid JSON (since it got parsed.) The only thing I can see as maybe problematic is if a user inserts newline characters,causing the log lines to wrap unexpectedly. So, I will remove these before printing.

miselico commented 2 years ago

Done, see #12