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:
parent
51654d991e
commit
e952a497aa
|
@ -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>
|
2013-02-21 Sergio Martin <sergio.martin@artica.es>
|
||||||
|
|
||||||
* include/functions_events.php
|
* include/functions_events.php
|
||||||
|
|
|
@ -1606,7 +1606,7 @@ function html_print_image ($src, $return = false, $options = false, $return_src
|
||||||
return io_safe_input($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 = '';
|
$style = '';
|
||||||
|
|
||||||
if (!empty ($options)) {
|
if (!empty ($options)) {
|
||||||
|
|
Loading…
Reference in New Issue