Lines 1715-1724
sub buildQuery {
Link Here
|
1715 |
# OR every member of the group |
1715 |
# OR every member of the group |
1716 |
elsif ( $this_limit =~ /mc/ ) { |
1716 |
elsif ( $this_limit =~ /mc/ ) { |
1717 |
my ($k,$v) = split(/:/, $this_limit,2); |
1717 |
my ($k,$v) = split(/:/, $this_limit,2); |
1718 |
if ( $k !~ /mc-i(tem)?type/ ) { |
1718 |
if ( $k !~ /mc-i(tem)?type/ && $v !~ /[a-zA-Z0-9]/ ) { |
1719 |
# in case the mc-ccode value has complicating chars like ()'s inside it we wrap in quotes |
1719 |
# in case the mc-ccode value has complicating chars like ()'s inside it we wrap in quotes |
1720 |
$this_limit =~ tr/"//d; |
1720 |
$v =~ tr/"//d; |
1721 |
$this_limit = $k.":'".$v."'"; |
1721 |
$this_limit = qq{$k:'$v'}; |
1722 |
} |
1722 |
} |
1723 |
|
1723 |
|
1724 |
$group_OR_limits{$k} .= " or " if $group_OR_limits{$k}; |
1724 |
$group_OR_limits{$k} .= " or " if $group_OR_limits{$k}; |
1725 |
- |
|
|