Permalink
Browse files

Apply addslashes to adminuser data

  • Loading branch information...
1 parent 14f3260 commit c779f92903cdecd51f92f5c809520705743404f4 fiedorow committed Jan 8, 2004
Showing with 1 addition and 1 deletion.
  1. +1 −1 admin/uploaduser.php
View
2 admin/uploaduser.php
@@ -104,7 +104,7 @@
while (!feof ($fp)) {
foreach ($optionalDefaults as $key => $value) {
- $user->$key = $adminuser->$key;
+ $user->$key = addslashes($adminuser->$key);
}
//Note: commas within a field should be encoded as &#44
$line = split("\,", fgets($fp,1024));

0 comments on commit c779f92

Please sign in to comment.