From a8040cd2b18d5c7acbe0c7f4141da9ede61854a0 Mon Sep 17 00:00:00 2001 From: Guillaume Risbourg Date: Mon, 3 Feb 2020 17:04:07 +0100 Subject: [PATCH] [creditmutuel] Remove useless _charset_ at login MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This argument is not needed and is causing some troubles for password with some special chars. This was modified to 'utf-8' to allow users with a `€` in their password to login, but it broke the login for users with some other special chars (like `à`). If we remove this parameter from the login form, it works fine for both. Closes: 57883@sibi 16425@zendesk --- modules/creditmutuel/pages.py | 1 - 1 file changed, 1 deletion(-) diff --git a/modules/creditmutuel/pages.py b/modules/creditmutuel/pages.py index 07f00ec83a..e5298d08e8 100644 --- a/modules/creditmutuel/pages.py +++ b/modules/creditmutuel/pages.py @@ -105,7 +105,6 @@ def login(self, login, passwd, redirect=False): # format login/password like login/password sent by firefox or chromium browser form['_cm_user'] = login form['_cm_pwd'] = passwd - form['_charset_'] = 'UTF-8' form.submit(allow_redirects=redirect) @property -- GitLab