Fix for & in URI
This commit is contained in:
@@ -8,6 +8,9 @@ $Source$
|
|||||||
2003-07-07 Garvin Hicking <me@supergarv.de>
|
2003-07-07 Garvin Hicking <me@supergarv.de>
|
||||||
* tbl_change.php3: Fix undefined index for disp_query
|
* tbl_change.php3: Fix undefined index for disp_query
|
||||||
(when inserting a new row with a file uploaded to a column)
|
(when inserting a new row with a file uploaded to a column)
|
||||||
|
* libraries/transformations/image_jpeg__inline.inc.php3,
|
||||||
|
libraries/transformations/image_png__inline.inc.php3: Proper escaping
|
||||||
|
of &
|
||||||
|
|
||||||
2003-07-07 Marc Delisle <lem9@users.sourceforge.net>
|
2003-07-07 Marc Delisle <lem9@users.sourceforge.net>
|
||||||
* libraries/auth/cookie.auth.lib.php3, config.inc.php3, user_password.php3,
|
* libraries/auth/cookie.auth.lib.php3, config.inc.php3, user_password.php3,
|
||||||
|
@@ -9,7 +9,7 @@ if (!defined('PMA_TRANSFORMATION_IMAGE_JPEG__INLINE')){
|
|||||||
include('./libraries/transformations/global.inc.php3');
|
include('./libraries/transformations/global.inc.php3');
|
||||||
|
|
||||||
if (PMA_IS_GD2) {
|
if (PMA_IS_GD2) {
|
||||||
$transform_options = array ('string' => '<a href="transformation_wrapper.php3' . $options['wrapper_link'] . '" target="_blank"><img src="transformation_wrapper.php3' . $options['wrapper_link'] . '&resize=jpeg&newWidth=' . (isset($options[0]) ? $options[0] : '100') . '&newHeight=' . (isset($options[1]) ? $options[1] : 100) . '" alt="[__BUFFER__]" border="0"></a>');
|
$transform_options = array ('string' => '<a href="transformation_wrapper.php3' . $options['wrapper_link'] . '" target="_blank"><img src="transformation_wrapper.php3' . $options['wrapper_link'] . '&resize=jpeg&newWidth=' . (isset($options[0]) ? $options[0] : '100') . '&newHeight=' . (isset($options[1]) ? $options[1] : 100) . '" alt="[__BUFFER__]" border="0"></a>');
|
||||||
} else {
|
} else {
|
||||||
$transform_options = array ('string' => '<img src="transformation_wrapper.php3' . $options['wrapper_link'] . '" alt="[__BUFFER__]" width="320" height="240">');
|
$transform_options = array ('string' => '<img src="transformation_wrapper.php3' . $options['wrapper_link'] . '" alt="[__BUFFER__]" width="320" height="240">');
|
||||||
}
|
}
|
||||||
|
@@ -9,7 +9,7 @@ if (!defined('PMA_TRANSFORMATION_IMAGE_PNG__INLINE')){
|
|||||||
include('./libraries/transformations/global.inc.php3');
|
include('./libraries/transformations/global.inc.php3');
|
||||||
|
|
||||||
if (PMA_IS_GD2) {
|
if (PMA_IS_GD2) {
|
||||||
$transform_options = array ('string' => '<a href="transformation_wrapper.php3' . $options['wrapper_link'] . '" target="_blank"><img src="transformation_wrapper.php3' . $options['wrapper_link'] . '&resize=png&newWidth=' . (isset($options[0]) ? $options[0] : '100') . '&newHeight=' . (isset($options[1]) ? $options[1] : 100) . '" alt="[__BUFFER__]" border="0"></a>');
|
$transform_options = array ('string' => '<a href="transformation_wrapper.php3' . $options['wrapper_link'] . '" target="_blank"><img src="transformation_wrapper.php3' . $options['wrapper_link'] . '&resize=png&newWidth=' . (isset($options[0]) ? $options[0] : '100') . '&newHeight=' . (isset($options[1]) ? $options[1] : 100) . '" alt="[__BUFFER__]" border="0"></a>');
|
||||||
} else {
|
} else {
|
||||||
$transform_options = array ('string' => '<img src="transformation_wrapper.php3' . $options['wrapper_link'] . '" alt="[__BUFFER__]" width="320" height="240">');
|
$transform_options = array ('string' => '<img src="transformation_wrapper.php3' . $options['wrapper_link'] . '" alt="[__BUFFER__]" width="320" height="240">');
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user