facg3 / MWM-Shop_Project

2 stars 1 forks source link

non-parameterised queries #35

Open SamerElaila opened 6 years ago

SamerElaila commented 6 years ago

https://github.com/facg3/MWM-Shop_Project/blob/e761e4d5a61dcf82570f808e98c8e50b8f240905/src/database/queries.js#L45

here you are not protected from sql injection.

see this for more information

MahmoudMH commented 6 years ago

ok done soon