mirror of
https://github.com/vrana/adminer.git
synced 2025-08-08 23:57:29 +02:00
Shorten queries saved from SQL command to URL (fix #917)
This commit is contained in:
@@ -665,7 +665,7 @@ function indexesAddColumn(prefix) {
|
|||||||
* @param string
|
* @param string
|
||||||
*/
|
*/
|
||||||
function sqlSubmit(form, root) {
|
function sqlSubmit(form, root) {
|
||||||
if (encodeURIComponent(form['query'].value).length < 2e3) {
|
if (encodeURIComponent(form['query'].value).length < 500) {
|
||||||
form.action = root
|
form.action = root
|
||||||
+ '&sql=' + encodeURIComponent(form['query'].value)
|
+ '&sql=' + encodeURIComponent(form['query'].value)
|
||||||
+ (form['limit'].value ? '&limit=' + +form['limit'].value : '')
|
+ (form['limit'].value ? '&limit=' + +form['limit'].value : '')
|
||||||
|
@@ -2,6 +2,7 @@ Adminer dev:
|
|||||||
Align numbers right (bug #912)
|
Align numbers right (bug #912)
|
||||||
Display comment in title of field
|
Display comment in title of field
|
||||||
Remember export setting at SQL command
|
Remember export setting at SQL command
|
||||||
|
Shorten queries saved from SQL command to URL (bug #917)
|
||||||
SQL textarea: Open help on Ctrl+click
|
SQL textarea: Open help on Ctrl+click
|
||||||
Security: Disallow writing temporary files to symlinks (bug SF-855)
|
Security: Disallow writing temporary files to symlinks (bug SF-855)
|
||||||
MariaDB: Display MariaDB instead of MySQL
|
MariaDB: Display MariaDB instead of MySQL
|
||||||
|
Reference in New Issue
Block a user