Ignore:
Timestamp:
Oct 7, 2013, 11:52:11 PM (11 years ago)
Author:
chronos
Message:
  • Fixed: SQL injection protection was not applied because of new dynamic URL handling.
  • Fixed: HTML entities encodin for search input string.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Modules/Translation/TranslationList.php

    r577 r586  
    131131                // Words
    132132                $Filter['Text'] = GetParameter('text', '', false, true);
    133                 $Output .= '<td><input name="text" type="text" style="width: 60px;" value="'.$Filter['Text'].'"></td>';
     133                $Output .= '<td><input name="text" type="text" style="width: 60px;" value="'.htmlentities($Filter['Text']).'"></td>';
    134134                if($Filter['Text'] != '')
    135135                {
     
    144144                // Entry
    145145                $Filter['Entry'] = GetParameter('entry', '', false, true);
    146                 $Output .= '<td><input name="entry" type="text" style="width: 60px;" value="'.$Filter['Entry'].'"></td>';
     146                $Output .= '<td><input name="entry" type="text" style="width: 60px;" value="'.htmlentities($Filter['Entry']).'"></td>';
    147147                if($Filter['Entry'] != '')
    148148                {
Note: See TracChangeset for help on using the changeset viewer.