Changeset 11998


Ignore:
Timestamp:
08/26/11 14:20:51 (8 years ago)
Author:
plg
Message:

feature 1729: protect thumbnail title against HTML special chars

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/functions.inc.php

    r11997 r11998  
    819819  } 
    820820 
    821   $title = strip_tags($title); 
     821  $title = htmlspecialchars(strip_tags($title)); 
    822822 
    823823  $title = trigger_event('get_thumbnail_title', $title, $info); 
Note: See TracChangeset for help on using the changeset viewer.