Changeset 4304 for trunk/upload.php


Ignore:
Timestamp:
Nov 18, 2009, 9:07:20 PM (14 years ago)
Author:
Eric
Message:

Escape all login and username characters in database
Display correctly usernames

(I hope not to have made mistakes)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/upload.php

    r4265 r4304  
    361361  array(
    362362    'ADVISE_TITLE' => $advise_title,
    363     'NAME' => $username,
     363    'NAME' => stripslashes($username),
    364364    'EMAIL' => $mail_address,
    365365    'NAME_IMG' => $name,
    366     'AUTHOR_IMG' => $author,
     366    'AUTHOR_IMG' => stripslashes($author),
    367367    'DATE_IMG' => $date_creation,
    368368    'COMMENT_IMG' => $comment,
Note: See TracChangeset for help on using the changeset viewer.