Don't append newlines to uploaded files
This commit is contained in:
parent
ffb2b5e80c
commit
feeda916f7
|
@ -643,8 +643,8 @@ function get_file($key, $decompress = false) {
|
||||||
} elseif ($start == "\xEF\xBB\xBF") { // UTF-8 BOM
|
} elseif ($start == "\xEF\xBB\xBF") { // UTF-8 BOM
|
||||||
$content = substr($content, 3);
|
$content = substr($content, 3);
|
||||||
}
|
}
|
||||||
|
$return .= $content . "\n\n";
|
||||||
}
|
}
|
||||||
$return .= $content . "\n\n";
|
|
||||||
}
|
}
|
||||||
//! support SQL files not ending with semicolon
|
//! support SQL files not ending with semicolon
|
||||||
return $return;
|
return $return;
|
||||||
|
|
|
@ -8,6 +8,7 @@ Add button for dropping an index
|
||||||
Display number of selected rows
|
Display number of selected rows
|
||||||
Disable underlining links
|
Disable underlining links
|
||||||
Improve speed of CSV import
|
Improve speed of CSV import
|
||||||
|
Don't append newlines to uploaded files, bug since Adminer 3.7.0
|
||||||
PostgreSQL: Fix handling of nextval() default values
|
PostgreSQL: Fix handling of nextval() default values
|
||||||
|
|
||||||
Adminer 3.7.1 (released 2013-06-29):
|
Adminer 3.7.1 (released 2013-06-29):
|
||||||
|
|
Loading…
Reference in a new issue