From db8ccd586508620274a914ed58c6453df9b1537b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?poljar=20=28Damir=20Jeli=C4=87=29?= <poljar@termina.org.uk>
Date: Fri, 19 Jan 2018 12:43:41 +0100
Subject: [PATCH] Revert "Urlencode the url in the requests."

This reverts commit 17729de99885ba186109145089576d128941c160.
---
 weechat-matrix.py | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/weechat-matrix.py b/weechat-matrix.py
index 8eab954..dbe7cf9 100644
--- a/weechat-matrix.py
+++ b/weechat-matrix.py
@@ -10,11 +10,6 @@ import datetime
 import pprint
 import re
 
-try:
-    from urllib import quote
-except ImportError:
-    from urllib.parse import quote
-
 # pylint: disable=redefined-builtin
 from builtins import bytes
 
@@ -202,7 +197,7 @@ class HttpRequest:
         payload       = None           # type: unicode
 
         if request_type == RequestType.GET:
-            get = 'GET {location} HTTP/1.1'.format(location=quote(location))
+            get = 'GET {location} HTTP/1.1'.format(location=location)
             request_list  = [get, host_header,
                              user_agent, accept_header, end_separator]