From 6d2a52613b402b1c898be90fe3fb9e9ba88617f9 Mon Sep 17 00:00:00 2001 From: Kevin Murphy Date: Wed, 29 Dec 2004 07:01:18 +0000 Subject: [PATCH] Fix for bug #1088549 --- plugins/ShrinkUrl.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/ShrinkUrl.py b/plugins/ShrinkUrl.py index 442ff0c1c..7793a35e7 100644 --- a/plugins/ShrinkUrl.py +++ b/plugins/ShrinkUrl.py @@ -209,6 +209,7 @@ class ShrinkUrl(callbacks.PrivmsgCommandAndRegexp): Returns an ln-s.net version of . """ + url = webutils.urlquote(url) if len(url) < 17: irc.error('Stop being a lazy-biotch and type the URL yourself.') return @@ -240,6 +241,7 @@ class ShrinkUrl(callbacks.PrivmsgCommandAndRegexp): Returns a TinyURL.com version of """ + url = webutils.urlquote(url) if len(url) < 20: irc.error('Stop being a lazy-biotch and type the URL yourself.') return