2013-02-21 Sergio Martin <sergio.martin@artica.es>

* include/functions_html.php: Supress a safe_input
	in html_print_image function due performance problem



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7698 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
zarzuelo 2013-02-21 17:30:44 +00:00
parent 51654d991e
commit e952a497aa
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2013-02-21 Sergio Martin <sergio.martin@artica.es>
* include/functions_html.php: Supress a safe_input
in html_print_image function due performance problem
2013-02-21 Sergio Martin <sergio.martin@artica.es>
* include/functions_events.php

View File

@ -1606,7 +1606,7 @@ function html_print_image ($src, $return = false, $options = false, $return_src
return io_safe_input($src);
}
$output = '<img src="'.io_safe_input ($src).'" '; //safe input necessary to strip out html entities correctly
$output = '<img src="'.$src.'" '; // Dont use safe_input here or the performance will dead
$style = '';
if (!empty ($options)) {