Skip to content

Commit

Permalink
Apply addslashes to adminuser data
Browse files Browse the repository at this point in the history
  • Loading branch information
fiedorow committed Jan 8, 2004
1 parent 14f3260 commit c779f92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion admin/uploaduser.php
Expand Up @@ -104,7 +104,7 @@


while (!feof ($fp)) { while (!feof ($fp)) {
foreach ($optionalDefaults as $key => $value) { foreach ($optionalDefaults as $key => $value) {
$user->$key = $adminuser->$key; $user->$key = addslashes($adminuser->$key);
} }
//Note: commas within a field should be encoded as &#44 //Note: commas within a field should be encoded as &#44
$line = split("\,", fgets($fp,1024)); $line = split("\,", fgets($fp,1024));
Expand Down

0 comments on commit c779f92

Please sign in to comment.