[Phpmyadmin-devel] Loic's version, patch 2

Hi, Without this patch, I can't modify or delete any records. Everything I tried worked after the patch, but I did not try all phpMyAdmin. With the patch, even the 'say "hello"' now works. Marc *** sql.php3.ori Mon Jul 23 20:19:57 2001 --- sql.php3 Mon Jul 23 20:20:21 2001 *************** *** 15,26 **** // $sql_query has been urlencoded in the confirmation form for drop/delete // queries or in the navigation bar for browsing among records ! if (isset($btnDrop) || isset($navig)) { $sql_query = urldecode($sql_query); if (isset($sql_order)) { $sql_order = urldecode($sql_order); } ! } /** --- 15,26 ---- // $sql_query has been urlencoded in the confirmation form for drop/delete // queries or in the navigation bar for browsing among records ! //if (isset($btnDrop) || isset($navig)) { $sql_query = urldecode($sql_query); if (isset($sql_order)) { $sql_order = urldecode($sql_order); } ! //} /**

Please to not apply this patch to LV. Without the patch, the modification or delete works, it is just the next SELECT that has a problem of not being url_decoded. Still looking for a solution. Marc Marc Delisle a écrit :
Hi,
Without this patch, I can't modify or delete any records. Everything I tried worked after the patch, but I did not try all phpMyAdmin. With the patch, even the 'say "hello"' now works.
Marc
*** sql.php3.ori Mon Jul 23 20:19:57 2001 --- sql.php3 Mon Jul 23 20:20:21 2001 *************** *** 15,26 **** // $sql_query has been urlencoded in the confirmation form for drop/delete // queries or in the navigation bar for browsing among records
! if (isset($btnDrop) || isset($navig)) { $sql_query = urldecode($sql_query); if (isset($sql_order)) { $sql_order = urldecode($sql_order); } ! }
/** --- 15,26 ---- // $sql_query has been urlencoded in the confirmation form for drop/delete // queries or in the navigation bar for browsing among records
! //if (isset($btnDrop) || isset($navig)) { $sql_query = urldecode($sql_query); if (isset($sql_order)) { $sql_order = urldecode($sql_order); } ! //}
/**
participants (2)
-
Marc Delisle
-
Marc Delisle