[lemonldap-ng] 03/04: Import upstream patch for JS error

Xavier Guimard xguimard-guest at moszumanska.debian.org
Wed Oct 25 19:51:06 UTC 2017


This is an automated email from the git hooks/post-receive script.

xguimard-guest pushed a commit to branch master
in repository lemonldap-ng.

commit 3f6e10b20d3e922c69cc916c2a51cabdd723b787
Author: Xavier Guimard <x.guimard at free.fr>
Date:   Wed Oct 25 21:47:15 2017 +0200

    Import upstream patch for JS error
---
 debian/patches/javascript-typo.patch | 20 ++++++++++++++++++++
 debian/patches/series                |  1 +
 2 files changed, 21 insertions(+)

diff --git a/debian/patches/javascript-typo.patch b/debian/patches/javascript-typo.patch
new file mode 100644
index 0000000..6458ddf
--- /dev/null
+++ b/debian/patches/javascript-typo.patch
@@ -0,0 +1,20 @@
+Description: Fix for little javascript error
+ Import upstream patch to fix an error with Form replay feature (javascript
+ generates error for fields with a dot)
+Author: Xavier Guimard <x.guimard at free.fr>
+Origin: upstream
+Bug: https://jira.ow2.org/browse/LEMONLDAP-1310
+Forwarded: no
+Last-Update: 2017-10-25
+
+--- lemonldap-ng-1.9.13.orig/lemonldap-ng-handler/lib/Lemonldap/NG/Handler/Main.pm
++++ lemonldap-ng-1.9.13/lemonldap-ng-handler/lib/Lemonldap/NG/Handler/Main.pm
+@@ -745,7 +745,7 @@ sub postJavascript {
+         use bytes;
+         my $value = "x" x bytes::length( $data->{$name} );
+         $filler .=
+-"form.find('input[name=$name], select[name=$name], textarea[name=$name]').val('$value')\n";
++"form.find('input[name=\"$name\"], select[name=\"$name\"], textarea[name=\"$name\"]').val('$value')\n";
+     }
+ 
+     my $submitter =
diff --git a/debian/patches/series b/debian/patches/series
index 661cd37..d01d9cd 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,4 @@ javascript-path.patch
 avoid-modify-sources.patch
 replace-mouse-by-moose.patch
 Avoid-developer-tests.patch
+javascript-typo.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/lemonldap-ng.git



More information about the Pkg-perl-cvs-commits mailing list