From 1be510f9529cb082f802408b472a77d074b394c0 Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Sun, 14 Apr 2013 13:46:12 +0000 Subject: Add zarb MLs html archives --- zarb-ml/mageia-sysadm/2011-January/001646.html | 102 +++++++++++++++++++++++++ 1 file changed, 102 insertions(+) create mode 100644 zarb-ml/mageia-sysadm/2011-January/001646.html (limited to 'zarb-ml/mageia-sysadm/2011-January/001646.html') diff --git a/zarb-ml/mageia-sysadm/2011-January/001646.html b/zarb-ml/mageia-sysadm/2011-January/001646.html new file mode 100644 index 000000000..94980f48e --- /dev/null +++ b/zarb-ml/mageia-sysadm/2011-January/001646.html @@ -0,0 +1,102 @@ + + + + [Mageia-sysadm] [244] fix string substitution, this emptied the searchfilter, leading to a catdap error page + + + + + + + + + +

[Mageia-sysadm] [244] fix string substitution, this emptied the searchfilter, leading to a catdap error page

+ root at mageia.org + root at mageia.org +
+ Fri Jan 7 02:39:36 CET 2011 +

+
+ +
Revision: 244
+Author:   misc
+Date:     2011-01-07 02:39:35 +0100 (Fri, 07 Jan 2011)
+Log Message:
+-----------
+fix string substitution, this emptied the searchfilter, leading to a catdap error page
+
+Modified Paths:
+--------------
+    identity/CatDap/trunk/lib/CatDap/Controller/user.pm
+
+Modified: identity/CatDap/trunk/lib/CatDap/Controller/user.pm
+===================================================================
+--- identity/CatDap/trunk/lib/CatDap/Controller/user.pm	2011-01-07 00:59:10 UTC (rev 243)
++++ identity/CatDap/trunk/lib/CatDap/Controller/user.pm	2011-01-07 01:39:35 UTC (rev 244)
+@@ -241,8 +241,7 @@
+     $attr = $c->req->param('attribute');
+     $value = $c->req->param('value');
+     $user = $c->user->username;
+-    $userfilter = $c->user->store->user_filter;
+-    $userfilter = s/%s/$c->user->username/g;
++    $userfilter = sprintf($c->user->store->user_filter ,$c->user->username);
+     $c->log->debug("Searching for user $user with $userfilter");
+     $mesg = $c->model('User')->search($userfilter);
+     $entry = $mesg->entry;
+-------------- next part --------------
+An HTML attachment was scrubbed...
+URL: </pipermail/mageia-sysadm/attachments/20110107/93a7101d/attachment.html>
+
+ + + + + + + + + + + + + + + + + + + + + +
+

+ +
+More information about the Mageia-sysadm +mailing list
+ -- cgit v1.2.1