#202 fix crash when changing timezone
Merged 11 months ago by pingou. Opened 11 months ago by ryanlerch.
ryanlerch/fedocal tz-500  into  master

file modified
+1 -1
@@ -1695,7 +1695,7 @@ 

      """

      url = flask.url_for('index')

      if flask.request.referrer:  # pragma: no cover

-         urltmp = urllib.unquote(flask.request.referrer.split('?', 1)[0])

+         urltmp = urllib.parse.unquote(flask.request.referrer.split('?', 1)[0])

          if is_safe_url(urltmp):

              url = urltmp

      else:

previously, when changing the timezone display for a calendar, fedocal
would crash. this fixes this issue

Resolves: #201

Signed-off-by: Ryan Lerch rlerch@redhat.com

Pull-Request has been merged by pingou

11 months ago
Metadata