mod_firewall/conditions.lib.lua
changeset 2076 eda5c54dfa30
parent 2075 4161ff87e5a4
child 2077 de15606f3669
--- a/mod_firewall/conditions.lib.lua	Fri Mar 11 18:15:58 2016 +0100
+++ b/mod_firewall/conditions.lib.lua	Fri Mar 11 18:16:38 2016 +0100
@@ -23,7 +23,7 @@
 	if not match then
 		return part.." == nil";
 	end
-	local pattern = match:match("<(.*)>");
+	local pattern = match:match("^<(.*)>$");
 	if pattern then
 		if pattern == "*" then
 			return part;