Package: liburi-perl
Severity: important
Version: 1.35-1
Tag: patch
; are perfectly valid query param separators, but query_form does not
separate on them like it should.
The attached trivial patch fixes this.
I plan to fix both this issue and resolve the non-free RFC inclusion
in this package in the near future with an NMU; please consider this
as a notification of such. [Trying also to ping Gisle to see if an
upstream release of URI will be happening eventually.]
Don Armstrong
--
Q: What Can a Thoughtful Man Hope for Mankind on Earth, Given the
Experience of the Past Million Years?
A: Nothing.
-- Bokonon _The Fourteenth Book of Bokonon_ (Vonnegut _Cats Cradle_)
http://www.donarmstrong.com http://rzlab.ucr.edu
diff -u liburi-perl-1.35/debian/changelog liburi-perl-1.35/debian/changelog
--- liburi-perl-1.35/debian/changelog
+++ liburi-perl-1.35/debian/changelog
@@ -1,3 +1,9 @@
+liburi-perl (1.35-2.1) unstable; urgency=low
+
+ * Split on ; in URI as well as & (closes: #####)
+
+ -- Don Armstrong <[EMAIL PROTECTED]> Mon, 18 Jun 2007 08:06:50 -0700
+
liburi-perl (1.35-2) unstable; urgency=low
* added watch file supplied by Bart Martens <[EMAIL PROTECTED]>
diff -u liburi-perl-1.35/debian/control liburi-perl-1.35/debian/control
--- liburi-perl-1.35/debian/control
+++ liburi-perl-1.35/debian/control
@@ -1,7 +1,7 @@
Source: liburi-perl
Section: perl
Priority: optional
-Build-Depends-Indep: perl (>= 5.6.0-16), debhelper (>= 3.0.18)
+Build-Depends-Indep: perl (>= 5.6.0-16), debhelper (>= 5)
Maintainer: Stefan Hornburg (Racke) <[EMAIL PROTECTED]>
Standards-Version: 3.5.6.0
diff -u liburi-perl-1.35/debian/rules liburi-perl-1.35/debian/rules
--- liburi-perl-1.35/debian/rules
+++ liburi-perl-1.35/debian/rules
@@ -21,7 +21,8 @@
# Add here commands to compile the package.
$(PERL) Makefile.PL INSTALLDIRS=vendor
- $(MAKE)
+ $(MAKE)
+ $(MAKE) test
touch build-stamp
@@ -58,10 +59,10 @@
dh_installdocs README
dh_perl
dh_installexamples
- dh_installmenu
+# dh_installmenu
# dh_installemacsen
# dh_installinit
- dh_installcron
+# dh_installcron
dh_installman
# dh_undocumented
dh_installchangelogs Changes
only in patch2:
unchanged:
--- liburi-perl-1.35.orig/URI/_query.pm
+++ liburi-perl-1.35/URI/_query.pm
@@ -55,7 +55,7 @@
return if !defined($old) || !length($old) || !defined(wantarray);
return unless $old =~ /=/; # not a form
map { s/\+/ /g; uri_unescape($_) }
- map { /=/ ? split(/=/, $_, 2) : ($_ => '')} split(/&/, $old);
+ map { /=/ ? split(/=/, $_, 2) : ($_ => '')} split(/[&;]/, $old);
}
# Handle ...?dog+bones type of query
only in patch2:
unchanged:
--- liburi-perl-1.35.orig/debian/compat
+++ liburi-perl-1.35/debian/compat
@@ -0,0 +1 @@
+5