summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Kim <dmitry point kim at gmail point com>2007-08-05 22:17:36 +0000
committerDmitry Kim <dmitry point kim at gmail point com>2007-08-05 22:17:36 +0000
commitd8231a3338c9a5adeb1433f478861f2c630cf4e8 (patch)
tree050ef0c8a52a450674dcf3594a3d85bfdebf1d20
parent44380e695a1c2718551e569ed8848cb67d5be546 (diff)
* (plugins/url.rb) apply URI.escape to make non-rfc charsets in uri useable
-rw-r--r--data/rbot/plugins/url.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/rbot/plugins/url.rb b/data/rbot/plugins/url.rb
index 269227a3..92853481 100644
--- a/data/rbot/plugins/url.rb
+++ b/data/rbot/plugins/url.rb
@@ -130,7 +130,7 @@ class UrlPlugin < Plugin
# TODO support multiple urls in one line
if m.message =~ /(f|ht)tps?:\/\//
if m.message =~ /((f|ht)tps?:\/\/.*?)(?:\s+|$)/
- urlstr = $1
+ urlstr = URI.escape $1
list = @registry[m.target]
title = nil