powder that makes you say yes

This commit is contained in:
Razgriz
2021-06-24 17:44:58 -07:00
committed by GitHub
parent 878ff0b936
commit 0729e59233

View File

@@ -367,14 +367,7 @@ var/obj/machinery/blackbox_recorder/blackbox
<<<<<<< HEAD
// Sanitize inputs to avoid SQL injection attacks //CHOMPEdit NOTE: This is not secure. Basic filters like this are pretty easy to bypass. Use the format for arguments used in the above.
proc/sql_sanitize_text(var/text)
||||||| parent of 18962f7a77... Merge pull request #10719 from VOREStation/upstream-merge-8150
// Sanitize inputs to avoid SQL injection attacks
proc/sql_sanitize_text(var/text)
=======
// Sanitize inputs to avoid SQL injection attacks
/proc/sql_sanitize_text(var/text)
>>>>>>> 18962f7a77... Merge pull request #10719 from VOREStation/upstream-merge-8150
text = replacetext(text, "'", "''")
text = replacetext(text, ";", "")
text = replacetext(text, "&", "")
@@ -435,4 +428,4 @@ proc/sql_sanitize_text(var/text)
if(!FV) return
FV.add_details(details)
FV.add_details(details)