From 541afe966055cd87aff72d20fb4506aa839c8ada Mon Sep 17 00:00:00 2001 From: Julien Duponchelle Date: Thu, 23 Mar 2017 15:50:02 +0100 Subject: [PATCH] Support utf-8 characters in user and password for auth Fix #959 --- gns3server/controller/compute.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gns3server/controller/compute.py b/gns3server/controller/compute.py index 94cc0f4f..5de7a657 100644 --- a/gns3server/controller/compute.py +++ b/gns3server/controller/compute.py @@ -128,7 +128,7 @@ class Compute: self._user = user.strip() if password: self._password = password.strip() - self._auth = aiohttp.BasicAuth(self._user, self._password) + self._auth = aiohttp.BasicAuth(self._user, self._password, "utf-8") else: self._password = None self._auth = aiohttp.BasicAuth(self._user, "")