Menu

html special chars little bug

2003-04-22
2003-04-22
  • Nobody/Anonymous

    Hi,

    I think there's a little bug with the description field of new code entry when I enter a html special char (> or > for instance).

    Should use htmlspecialchars() ?

    chicobra.

     
    • Brad Fears

      Brad Fears - 2003-04-22

      Actually, that was intentional.  I strip_tags() some of the fields before inserting them into the database in order to prevent users from trying to insert malicious code.

      Perhaps in the next version I should give the administrator the option of allowing/preventing these tags.

      If you need to change it, look for the strip_tags() function in the input.php file.

      Thanks for the feedback.

      --Brad Fears

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.