Menu

#79 Do htmlspecialchars() after substr()

closed-fixed
None
5
2006-10-05
2006-10-05
Tim Gerundt
No

In the file "html/html_inbox.php" you cut the "To"
address and the "Subject" after 55 characters and call
htmlspecialchars() after this.
But htmlspecialchars() makes the string longer and you
maybe cut a HTML entity in the middle too!

So, this patch do htmlspecialchars() after substr().

Greetings,
Tim Gerundt

Discussion

  • Tim Gerundt

    Tim Gerundt - 2006-10-05

    original and altered file

     
  • Anonymous

    Anonymous - 2006-10-05
    • labels: 104551 -->
    • assigned_to: nobody --> goddess_skuld
     
  • Anonymous

    Anonymous - 2006-10-05

    Logged In: YES
    user_id=529507

    Fixed in CVS.

    It'll be included in next release.

    But you can download daily snapshots at :
    http://nocc.sourceforge.net/download/

    Thanks for the patch.

     
  • Anonymous

    Anonymous - 2006-10-05
    • status: open --> closed-fixed
     

Log in to post a comment.