@@ -327,7 +327,7 @@ def process(match, repl):
327327 if httpHeader == HTTP_HEADER .USER_AGENT :
328328 conf .parameters [PLACE .USER_AGENT ] = urldecode (headerValue )
329329
330- condition = any ((not conf .testParameter , intersect (conf .testParameter , USER_AGENT_ALIASES )))
330+ condition = any ((not conf .testParameter , intersect (conf .testParameter , USER_AGENT_ALIASES , True )))
331331
332332 if condition :
333333 conf .paramDict [PLACE .USER_AGENT ] = {PLACE .USER_AGENT : headerValue }
@@ -336,7 +336,7 @@ def process(match, repl):
336336 elif httpHeader == HTTP_HEADER .REFERER :
337337 conf .parameters [PLACE .REFERER ] = urldecode (headerValue )
338338
339- condition = any ((not conf .testParameter , intersect (conf .testParameter , REFERER_ALIASES )))
339+ condition = any ((not conf .testParameter , intersect (conf .testParameter , REFERER_ALIASES , True )))
340340
341341 if condition :
342342 conf .paramDict [PLACE .REFERER ] = {PLACE .REFERER : headerValue }
@@ -345,7 +345,7 @@ def process(match, repl):
345345 elif httpHeader == HTTP_HEADER .HOST :
346346 conf .parameters [PLACE .HOST ] = urldecode (headerValue )
347347
348- condition = any ((not conf .testParameter , intersect (conf .testParameter , HOST_ALIASES )))
348+ condition = any ((not conf .testParameter , intersect (conf .testParameter , HOST_ALIASES , True )))
349349
350350 if condition :
351351 conf .paramDict [PLACE .HOST ] = {PLACE .HOST : headerValue }
0 commit comments