#1277 tracker escapes backslashes inappropriately in main text

wont-fix
None
https://sourceforge.net/tracker/?func=detail&atid=612382&aid=3579984&group_id=95717
notepad-plus
2012-10-30
2012-10-30
No

steps to reproduce:
enter a bug in tracker
put text in the big text box

actual:
upon submit, tracker escapes your backslashes for you with an extra backslash

expected:
upon submit, tracker should leave a backslash as a backslash.

fix:
if this is a mysql database and you are using PHP, somebody forgot to do a stripslashes() first on the $_POST[], $_REQUEST, or $_GET variable.

HTML textarea elements produce certain backslash-escaped characters when sent over some web scripting languages I guess. found this out the hard way. so there's your patch.

just for laughs, I will insert one backslash here to see if this one does it here too \

Discussion

  • Jim Michaels
    Jim Michaels
    2012-10-30

    it doesn't seem to do it in "comments", only in initial submission.

     

  • Anonymous
    2012-10-30

    • status: unread --> wont-fix
    • assigned_to: Chris Tsai
     

  • Anonymous
    2012-10-30

    This bug is only present on the classic SourceForge system, which is no longer in development. This will not be addressed as the team will not be spending time to fix bugs in a system they're actively working towards retiring.

    Regards,
    Chris Tsai, SourceForge.net Support

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks