Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#161 html block edit adds backslashes

closed-accepted
nobody
backend (8)
5
2002-07-09
2002-07-08
No

Yet another little glitch, in the block adminsitration
screen this time.

Currently, \'s are added in front of " ' etc in the
block title and body and not stripped off for display
or edit. Making this change:

diff -r1.14 Block.class
229c229
< $block_array[$key] = addslashes($val);
---
> $block_array[$key] = clean($val,true); //PAC

makes sure that special chars are treated right (so
long as you don't try to use single quotes inside an
HTML tag).

Discussion

  • Joe Stewart
    Joe Stewart
    2002-07-09

    • status: open --> closed-accepted
     
  • Joe Stewart
    Joe Stewart
    2002-07-09

    Logged In: YES
    user_id=77269

    This problem has been corrected in the CVS. Please update your
    copy of PHPSlash, or wait for the next release.