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