Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unexpected Caracter in password after ugrading from 2.1.27.36 #4162

Open
Phdhebde opened this issue Apr 26, 2024 · 0 comments
Open

Unexpected Caracter in password after ugrading from 2.1.27.36 #4162

Phdhebde opened this issue Apr 26, 2024 · 0 comments

Comments

@Phdhebde
Copy link

Hi everyone,

After migrading my teampass from 2.1.27.36 to 3.1.1, i faced several issues concerning the password. Its seems like an encoding problem because special character are resplace by their html name code. For example, < became &lt;. I already try to specify the utf8 in setting.php file before upgrading.

Do we have an other way to change the encoding parameter ?

After trying to change the password and replace the special encoding with the normal, a message error appear telling us that the password hasn't change.

Steps to reproduce

  1. Having a password containing < symbol
  2. Upgrading to 3.1.1
  3. Copy the password with the special symbol

Server configuration

Operating system: Debian 12.5 , kernel 6.1.85

Web server: Apache 2.4.59

Database: : mariaDB 10.11.6

PHP version: 8.2

Teampass version: 3.1.1

Teampass configuration file: : include/config/setting.php file

define("DB_HOST", "127.0.0.1");
define("DB_USER", "xxxxxxxx");
define("DB_PASSWD", "xxxxxxxxxxxxxx");
define("DB_NAME", "xxxxxxxxx");
define("DB_PREFIX", "xxxxxxxxxx");
define("DB_PORT", "3306");
define("DB_ENCODING", "utf8");
define("DB_SSL", false); // if DB over SSL then comment this line
// if DB over SSL then uncomment the following lines
//define("DB_SSL", array(
//    "key" => "",
//    "cert" => "",
//    "ca_cert" => "",
//    "ca_path" => "",
//    "cipher" => ""
//));
define("DB_CONNECT_OPTIONS", array(
    MYSQLI_OPT_CONNECT_TIMEOUT => 10
));
define("SECUREPATH", "/var/www/teampass");
define("SECUREFILE", "teampass-seckey.txt");
define("IKEY", "");
define("SKEY", "");
define("HOST", "");

if ($session->has('system-timezone') && null !== $session->get('system-timezone')) {
    date_default_timezone_set($session->get('system-timezone'));
}

Client configuration

Browser:

  • Firefox
  • Chrome
  • Edge

Operating system:
Debian : 12.5

LOGS

We haven't error log from the webserver

HELP

Does anyone have the same problem or fix it ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant