summaryrefslogtreecommitdiff
path: root/lib/VNDBUtil.pm
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2011-02-04 11:46:00 +0100
committerYorhel <git@yorhel.nl>2011-02-04 11:46:00 +0100
commit7a5283dc5cb35aca7cefe3348d8697e29aedda15 (patch)
tree207a89f89c128ce61082a3a019b391b4cb8374c7 /lib/VNDBUtil.pm
parent422451344f20a69b43b6fc4c51f89a5174ef8760 (diff)
parent876119b300473a5232b5fcc60eb403afe36e6163 (diff)
Merge branch 'beta'2.17
Conflicts: ChangeLog
Diffstat (limited to 'lib/VNDBUtil.pm')
-rw-r--r--lib/VNDBUtil.pm11
1 files changed, 1 insertions, 10 deletions
diff --git a/lib/VNDBUtil.pm b/lib/VNDBUtil.pm
index f5650d6d..6285e77a 100644
--- a/lib/VNDBUtil.pm
+++ b/lib/VNDBUtil.pm
@@ -8,7 +8,7 @@ use Exporter 'import';
use Encode 'encode_utf8';
use Unicode::Normalize 'NFKD';
-our @EXPORT = qw|shorten bb2html gtintype normalize normalize_titles normalize_query imgsize uri_escape|;
+our @EXPORT = qw|shorten bb2html gtintype normalize normalize_titles normalize_query imgsize|;
sub shorten {
@@ -242,14 +242,5 @@ sub imgsize {
}
-# Same as URI::Escape::uri_escape_utf8(), only simpler and doesn't add extra
-# dependencies
-sub uri_escape {
- local $_ = encode_utf8 shift;
- s/([^A-Za-z0-9._~-])/sprintf '%%%02X', ord $1/eg;
- return $_;
-}
-
-
1;