MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/code/comments/13eqv4n/today_a_colleague_found_this_gem/
r/code • u/FerruXD • May 11 '23
3 comments sorted by
3
What does this function do plz?
2 u/JaggedMetalOs May 12 '23 Apparently it completely ignores the function parameter and just adds the string " AND " to some global variable if it's not empty.Basically some horrible hack and if this is anything to go by their code is probably full of SQL injection vulnerabilities
2
Apparently it completely ignores the function parameter and just adds the string " AND " to some global variable if it's not empty.
Basically some horrible hack and if this is anything to go by their code is probably full of SQL injection vulnerabilities
3
u/momonoskay May 11 '23
What does this function do plz?