summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2014-02-15 00:21:24 +0100
committerFrédéric Buclin <LpSolit@gmail.com>2014-02-15 00:21:24 +0100
commit8445288a1ee4e1eaa4f2e45498ec2171187105ab (patch)
tree3cb5c3df0dd038942d187dd386bab62228d62632
parentadceb1cda6441d2969ed5a3d6d45add6f33c6df7 (diff)
downloadbugzilla-8445288a1ee4e1eaa4f2e45498ec2171187105ab.tar.gz
bugzilla-8445288a1ee4e1eaa4f2e45498ec2171187105ab.tar.xz
Bug 970283: Bump URI version to 1.55 to correctly escape single quotes in URLs
r=dkl a=justdave
-rw-r--r--Bugzilla/Bug.pm2
-rw-r--r--Bugzilla/BugUrl.pm1
-rw-r--r--Bugzilla/Install/Requirements.pm11
3 files changed, 3 insertions, 11 deletions
diff --git a/Bugzilla/Bug.pm b/Bugzilla/Bug.pm
index a96731949..128d2a4cd 100644
--- a/Bugzilla/Bug.pm
+++ b/Bugzilla/Bug.pm
@@ -32,8 +32,6 @@ use Bugzilla::BugUrl;
use List::MoreUtils qw(firstidx uniq part);
use List::Util qw(min max first);
use Storable qw(dclone);
-use URI;
-use URI::QueryParam;
use Scalar::Util qw(blessed);
use parent qw(Bugzilla::Object Exporter);
diff --git a/Bugzilla/BugUrl.pm b/Bugzilla/BugUrl.pm
index df72d9cf7..39b985d29 100644
--- a/Bugzilla/BugUrl.pm
+++ b/Bugzilla/BugUrl.pm
@@ -17,6 +17,7 @@ use Bugzilla::Error;
use Bugzilla::Constants;
use Bugzilla::Hook;
+use URI;
use URI::QueryParam;
###############################
diff --git a/Bugzilla/Install/Requirements.pm b/Bugzilla/Install/Requirements.pm
index e72129153..74cbd82b4 100644
--- a/Bugzilla/Install/Requirements.pm
+++ b/Bugzilla/Install/Requirements.pm
@@ -148,9 +148,8 @@ sub REQUIRED_MODULES {
{
package => 'URI',
module => 'URI',
- # This version properly handles a semicolon as the delimiter
- # in a URL query string.
- version => '1.37',
+ # Follows RFC 3986 to escape characters in URI::Escape.
+ version => '1.55',
},
# 0.32 fixes several memory leaks in the XS version of some functions.
{
@@ -397,12 +396,6 @@ sub OPTIONAL_MODULES {
# memcached
{
- package => 'URI-Escape',
- module => 'URI::Escape',
- version => 0,
- feature => ['memcached'],
- },
- {
package => 'Cache-Memcached',
module => 'Cache::Memcached',
version => '0',