projects
/
webmin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2777eb5
)
Handle %u in query filter
author
Jamie Cameron
<jcameron@webmin.com>
Mon, 2 Jun 2008 17:57:52 +0000
(17:57 +0000)
committer
Jamie Cameron
<jcameron@webmin.com>
Mon, 2 Jun 2008 17:57:52 +0000
(17:57 +0000)
postfix/postfix-lib.pl
patch
|
blob
|
history
diff --git
a/postfix/postfix-lib.pl
b/postfix/postfix-lib.pl
index
48943d1
..
524d8ed
100644
(file)
--- a/
postfix/postfix-lib.pl
+++ b/
postfix/postfix-lib.pl
@@
-1174,7
+1174,7
@@
local ($conf) = @_;
local ($filter, $name_attr) = @_;
if ($conf->{'query_filter'}) {
$filter = $conf->{'query_filter'};
- $conf->{'query_filter'} =~ /([a-z0-9]+)=\%
s
/i ||
+ $conf->{'query_filter'} =~ /([a-z0-9]+)=\%
[su]
/i ||
&error("Could not get attribute from ".
$conf->{'query_filter'});
$name_attr = $1;