Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/python-nbxmpp.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Hörist <philipp@hoerist.com>2023-01-10 20:45:27 +0300
committerPhilipp Hörist <philipp@hoerist.com>2023-01-10 20:45:27 +0300
commit7ae72c8deb14f03de6d05076a56240937b0230f4 (patch)
treefc9f60e6eacd3b18c38aadf3f96d9d2d914e6a1c
parente2070663081cae0770e6c17f4f2b79145a2128f6 (diff)
fix: HTTP: Parse uri with correct flags
-rw-r--r--nbxmpp/http.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nbxmpp/http.py b/nbxmpp/http.py
index a2dd84b..9265a5d 100644
--- a/nbxmpp/http.py
+++ b/nbxmpp/http.py
@@ -252,7 +252,7 @@ class HTTPRequest(GObject.GObject):
Gio.FileCreateFlags.REPLACE_DESTINATION,
self._cancellable)
- uri = GLib.Uri.parse(uri_string, GLib.UriFlags.HAS_PASSWORD)
+ uri = GLib.Uri.parse(uri_string, GLib.UriFlags(Soup.HTTP_URI_FLAGS))
self._message.set_uri(uri)
if self._request_body_data is not None: