Comment filtering for statement seperation does not match for the database...
Database management in a single PHP file
Brought to you by:
jakubvrana
Adminer version: 4.8.1
Database: Postgresql 13.5
Problematic query:
SELECT 1
--;
SELECT 2
this works
SELECT 1
-- ;
SELECT 2
this does not work
Both queries should not work because the semicolon is commented out. But Adminer searches itself for the end of the query and does "-- " (with a space after the double minus) consider a comment but "--" (without space after the double minus) not.
Fixed by 36939926.