Change URLQueryEncryption default to false

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
This commit is contained in:
Maurício Meneghini Fauth 2022-01-10 12:34:12 -03:00
parent 4fd7aa7a2c
commit ede2396796
No known key found for this signature in database
GPG Key ID: 6A16FD38AFC89CC8
3 changed files with 10 additions and 3 deletions

View File

@ -148,6 +148,13 @@ $cfg['SaveDir'] = '';
*/
//$cfg['SendErrorReports'] = 'always';
/**
* 'URLQueryEncryption' defines whether phpMyAdmin will encrypt sensitive data from the URL query string.
* 'URLQueryEncryptionSecretKey' is a 32 bytes long secret key used to encrypt/decrypt the URL query string.
*/
//$cfg['URLQueryEncryption'] = true;
//$cfg['URLQueryEncryptionSecretKey'] = '';
/**
* You can find more configuration options in the documentation
* in the doc/ folder or at <https://docs.phpmyadmin.net/>.

View File

@ -1739,12 +1739,12 @@ Generic settings
.. config:option:: $cfg['URLQueryEncryption']
:type: boolean
:default: true
:default: false
.. versionadded:: 4.9.8
Define whether phpMyAdmin will encrypt sensitive data (like database name
and table name) from the URL query string. Default is to encrypt the URL
and table name) from the URL query string. Default is to not encrypt the URL
query string.
.. config:option:: $cfg['URLQueryEncryptionSecretKey']

View File

@ -822,7 +822,7 @@ $cfg['IgnoreMultiSubmitErrors'] = false;
*
* @global bool $cfg['URLQueryEncryption']
*/
$cfg['URLQueryEncryption'] = true;
$cfg['URLQueryEncryption'] = false;
/**
* A secret key used to encrypt/decrypt the URL query string. Should be 32 bytes long.