Philipp Hörist pushed to branch master at gajim / python-nbxmpp


Commits:
7ae72c8d by Philipp Hörist at 2023-01-10T18:45:27+01:00
fix: HTTP: Parse uri with correct flags

- - - - -


1 changed file:

- nbxmpp/http.py


Changes:

=====================================
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:



View it on GitLab: 
https://dev.gajim.org/gajim/python-nbxmpp/-/commit/7ae72c8deb14f03de6d05076a56240937b0230f4

-- 
View it on GitLab: 
https://dev.gajim.org/gajim/python-nbxmpp/-/commit/7ae72c8deb14f03de6d05076a56240937b0230f4
You're receiving this email because of your account on dev.gajim.org.


_______________________________________________
Commits mailing list
Commits@gajim.org
https://lists.gajim.org/cgi-bin/listinfo/commits

Reply via email to