Changeset 7638

Show
Ignore:
Timestamp:
05/05/09 10:40:01 (4 years ago)
Author:
p_lindheimer
Message:

add ENT_QUOTES to htmlspecialchars

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • freepbx/branches/2.5/amp_conf/htdocs/recordings/includes/display.php

    r7595 r7638  
    8787               <form class='bar' action='" . $_SESSION['ARI_ROOT'] . "' method='GET' name='search'> 
    8888                 <input type=hidden name=m value=" . $m . ">   
    89                  <input type=text name=q size=40 value='" . htmlspecialchars($q) . "' maxlength=256> 
     89                 <input type=text name=q size=40 value='" . htmlspecialchars($q,ENT_QUOTES) . "' maxlength=256> 
    9090                 " . $option_text . "  
    9191                 <input type=hidden name=start value=0>  
     
    133133    } 
    134134    elseif ($q != NULL) { 
    135       $left_text = "<small><small>" . _("Searched for") . " <u>" . $q . "</u></small></small>"; 
     135      $left_text = "<small><small>" . _("Searched for") . " <u>" . htmlspecialchars($q,ENT_QUOTES) . "</u></small></small>"; 
    136136    } 
    137137