[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [OSSTEST PATCH 1/2] mg-hosts: Allow spaces in setflagexpr exprs



Signed-off-by: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
---
 mg-hosts |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mg-hosts b/mg-hosts
index d7223a1..c116688 100755
--- a/mg-hosts
+++ b/mg-hosts
@@ -321,7 +321,7 @@ END
        my ($dst,$section) = @_;
        die unless @$section == 2;
        my ($dstflag, $expr) = @$section;
-       die "$expr $& ?" if $expr =~ m/[^-0-9a-z_&|()!~]/;
+       die "$expr $& ?" if $expr =~ m/[^-0-9a-z_&|()!~ \t]/;
 
        my %inputs;
        $expr =~ s{[-0-9a-z_]+}{
-- 
1.7.10.4


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.