Skip to content
  • David Anderson's avatar
    - web: clean up stuff related to stripslashes(): · d764eb58
    David Anderson authored
        1) it's not correct to apply stripslashes() to all form input.
            That should be done only if magic quotes is on.
            I fixed this by adding a function undo_magic_quotes()
            that does the right thing.
        2) There's no reason to strip backslashes from user-supplied text
            (forum titles and bodies, private messages, passwords etc.)
            I'm not sure why this was being done.
            It prevented messages from containing backslashes.
    
    svn path=/trunk/boinc/; revision=15364
    d764eb58