Changeset 4182


Ignore:
Timestamp:
11/04/09 21:50:17 (10 years ago)
Author:
nikrou
Message:

bug 1220 : fix regression in display when search by author or by keyword contains quote.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/comments.php

    r4139 r4182  
    205205  array( 
    206206    'F_ACTION'=>PHPWG_ROOT_PATH.'comments.php', 
    207     'F_KEYWORD'=> @htmlspecialchars($_GET['keyword'], ENT_QUOTES, 'utf-8'), 
    208     'F_AUTHOR'=> @htmlspecialchars($_GET['author'], ENT_QUOTES, 'utf-8'), 
     207    'F_KEYWORD'=> @htmlspecialchars(stripslashes($_GET['keyword'], ENT_QUOTES, 'utf-8')), 
     208    'F_AUTHOR'=> @htmlspecialchars(stripslashes($_GET['author'], ENT_QUOTES, 'utf-8')), 
    209209    ) 
    210210  ); 
Note: See TracChangeset for help on using the changeset viewer.