diff options
author | rvelices <rv-github@modusoptimus.com> | 2014-04-16 05:13:10 +0000 |
---|---|---|
committer | rvelices <rv-github@modusoptimus.com> | 2014-04-16 05:13:10 +0000 |
commit | d1ac6441e8dd3067e546f884d82e151692f18eb3 (patch) | |
tree | c8d3b984dda852a036ab734351d1281d0673dbf9 /i.php | |
parent | ac316cee7109652edf2edeb715b8012a654433d2 (diff) |
bug 2971: i.php should escape source location
git-svn-id: http://piwigo.org/svn/trunk@28198 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'i.php')
-rw-r--r-- | i.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -468,7 +468,7 @@ if (strpos($page['src_location'], '/pwg_representative/')===false $query = ' SELECT * FROM '.$prefixeTable.'images - WHERE path=\''.$page['src_location'].'\' + WHERE path=\''.addslashes($page['src_location']).'\' ;'; if ( ($row=pwg_db_fetch_assoc(pwg_query($query))) ) |