Ticket #5723: 5723_patch.diff
File 5723_patch.diff, 667 bytes (added by , 16 years ago) |
---|
-
mythplugins/mythweb/modules/video/handler.php
225 225 226 226 if (isset($_SESSION['video']['path'])) { 227 227 $escaped_path = str_replace('(', '\\(',$_SESSION['video']['path']); 228 $escaped_path = str_replace(')', '\\)',$_SESSION['video']['path']);228 $escaped_path = str_replace(')', '\\)', $escaped_path); 229 229 $where .= ' AND videometadata.filename RLIKE '.$db->escape($escaped_path.'[/]*[^/]*$'); 230 230 } 231 231 // Deal with the parental locks