Package: release.debian.org Severity: normal Tags: patch User: release.debian....@packages.debian.org Usertags: unblock
Please approve package ejabberd for unblocking: Please consider #660186 release-critical: in many environment, JPEG photos are used in Jabber, and in companies, these usually come from the LDAP. This bug effectively prevents such environ- ments from using ejabberd, or upgrading to the wheezy version. The patch to fix this is a one-liner, apparently some forgotten escape, and does its job well. I’ve prepared a locally patched package with that and would like to ask the Release Team hereby for a pre-upload approval, and then either the package maintainers to upload a fixed version to sid which can migrate, or I will do an NMU. The patch is attached. Thanks! -- System Information: Debian Release: 7.0 APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 3.2.0-4-amd64 (SMP w/8 CPU cores) Locale: LANG=C, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/mksh-static
diff -u ejabberd-2.1.10/debian/changelog ejabberd-2.1.10/debian/changelog --- ejabberd-2.1.10/debian/changelog +++ ejabberd-2.1.10/debian/changelog @@ -1,3 +1,9 @@ +ejabberd (2.1.10-3tarent1) unstable; urgency=high + + * Apply patch from EJAB-1526 (Closes: #660186) + + -- Thorsten Glaser <t.gla...@tarent.de> Mon, 21 Jan 2013 19:03:52 +0100 + ejabberd (2.1.10-3) unstable; urgency=low [ Konstantin Khomoutov ] diff -u ejabberd-2.1.10/debian/patches/series ejabberd-2.1.10/debian/patches/series --- ejabberd-2.1.10/debian/patches/series +++ ejabberd-2.1.10/debian/patches/series @@ -7,0 +8 @@ +bug660186-EJAB-1526.patch only in patch2: unchanged: --- ejabberd-2.1.10.orig/debian/patches/bug660186-EJAB-1526.patch +++ ejabberd-2.1.10/debian/patches/bug660186-EJAB-1526.patch @@ -0,0 +1,9 @@ +--- a/src/eldap/eldap_filter.erl ++++ b/src/eldap/eldap_filter.erl +@@ -181,5 +181,6 @@ do_sub(S, {RegExp, New, Times}, Iter) -> + replace_amps(String) -> + lists:flatmap( + fun($&) -> "\\&"; ++ ($\\) -> "\\\\"; + (Chr) -> [Chr] + end, String).