phpMyAdmin 5.1.2

Released 2022-01-22.

Welcome to the release of phpMyAdmin version 5.1.2. This is a bug fix and security release to address several issues and also improves compatibility with PHP 8.0 and 8.1.

Security fixes:
* Fix for a user potentially being able to disable their two factor authentication (PMASA-2022-1)
* Add a new configuration directive $cfg['URLQueryEncryption'] to allow encrypting sensitive information in the URL to prevent disclosure. Thanks to Rich Grimes  for suggesting this improvement
* Add a new configuration directive $cfg['Servers'][$i]['hide_connection_errors'] to allow hiding the full error message when a log on attempt fails, which can leak hostnames or IP addresses of the target database server. Thanks to Dr. Shuzhe Yang, Manager Security Governance at GLS IT Services for suggesting this improvement
* Fixes for XSS and HTML injection attack in the graphical setup page (PMASA-2022-2)

## Bug fixes

* Revert a changed to $cfg['CharTextareaRows'] allow values less than 7
* Fix encoding of enum and set values on edit value
* Fixed possible "Undefined index: clause_is_unique" error
* Fixed some situations where a user is logged out when working with more than one server
* Fixed a problem with assigning privileges to a user using the multiselect list when the database name has an underscore
* Enable cookie parameter "SameSite" when the PHP version is 7.3 or newer
* Correctly handle the removal of "innodb_file_format" in MariaDB and MySQL

More detailed notes can be found in the release announcement at https://www.phpmyadmin.net/news/ and the complete release notes are always available at https://demo.phpmyadmin.net/master-config/index.php?route=/changelog

Downloads are available now at https://phpmyadmin.net/downloads/

For the phpMyAdmin team,
Isaac

Older version compatible with PHP 7.1 and newer and MySQL/MariaDB 5.5 and newer.

File Size Verification
phpMyAdmin-5.1.2-all-languages.tar.gz 11.8 MB [PGP] [SHA256]
phpMyAdmin-5.1.2-all-languages.tar.xz 6.7 MB [PGP] [SHA256]
phpMyAdmin-5.1.2-english.tar.gz 7.2 MB [PGP] [SHA256]
phpMyAdmin-5.1.2-english.tar.xz 4.7 MB [PGP] [SHA256]
phpMyAdmin-5.1.2-english.zip 8.6 MB [PGP] [SHA256]
phpMyAdmin-5.1.2-source.tar.xz 17.1 MB [PGP] [SHA256]

Since July 2015 all phpMyAdmin releases are cryptographically signed by the releasing developer. You should verify that the signature matches the archive you have downloaded. Verification instructions are placed in our documentation in the Verifying phpMyAdmin releases chapter.