File tree Expand file tree Collapse file tree
tests/unit/Plugins/Export Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ phpMyAdmin - ChangeLog
1212- issue #17009 Implement the security header `Permissions-Policy`
1313- issue #17951 Allow rollbacking SET queries
1414- issue #18529 Add copy to clipboard for export as text
15+ - issue #19398 Use `application/json` instead of `text/plain` for JSON export
1516
16175.2.2 (not yet released)
1718- issue #17851 Fix total count of rows in not accurate
Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ protected function setProperties(): ExportPluginProperties
6363 $ exportPluginProperties = new ExportPluginProperties ();
6464 $ exportPluginProperties ->setText ('JSON ' );
6565 $ exportPluginProperties ->setExtension ('json ' );
66- $ exportPluginProperties ->setMimeType ('text/plain ' );
66+ $ exportPluginProperties ->setMimeType ('application/json ' );
6767 $ exportPluginProperties ->setOptionsText (__ ('Options ' ));
6868
6969 // create the root group that will be the options field for
Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ public function testSetProperties(): void
7878 );
7979
8080 self ::assertSame (
81- 'text/plain ' ,
81+ 'application/json ' ,
8282 $ properties ->getMimeType (),
8383 );
8484
You can’t perform that action at this time.
0 commit comments