Skip to content

FIX SQL injection#1

Open
snyff wants to merge 1 commit intoNickArm:masterfrom
snyff:master
Open

FIX SQL injection#1
snyff wants to merge 1 commit intoNickArm:masterfrom
snyff:master

Conversation

@snyff
Copy link
Copy Markdown

@snyff snyff commented Jun 23, 2013

Hi mate,

just a quick fix for 2 sql injections. I think this values are integer so intval is your best bet. If they are strings, mysql_real_escape_string is probably more appropriate.

Hi mate,

just a quick fix for 2 sql injections. I think this values are integer so intval is your best bet. If they are strings, mysql_real_escape_string is probably more appropriate.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant