[security]XSS 취약점 및 token 추가
This commit is contained in:
1 parent
65a419e9cd
commit
b12bf551ec
10 files changed
+50
-11
No files matched your search
@@ -26,7 +26,7 @@ if($mp_no){
|
||||
$sql = "SELECT * from {$g5['social_profile_table']} where mb_id= '".$mb_id."' and mp_no= $mp_no";
|
||||
$row = sql_fetch($sql);
|
||||
} else if($provider){
|
||||
$sql = "SELECT * from {$g5['social_profile_table']} where mb_id= '".$mb_id."' and provider= '".$provider."'";
|
||||
$sql = "SELECT * from {$g5['social_profile_table']} where mb_id= '".$mb_id."' and provider= '".sql_real_escape_string($provider)."'";
|
||||
$row = sql_fetch($sql);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user