Permalink
Browse files

Undefined input for match filter returns false. Fixes #311

  • Loading branch information...
1 parent c5388cf commit c151a99676a6fb5d1356d3b2f3aaf185c79fff25 @mmzeeman mmzeeman committed Apr 24, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 modules/mod_base/filters/filter_match.erl
@@ -21,6 +21,8 @@
-author('mmzeeman@xs4all.nl').
+match(undefined, _Re, _Context) ->
+ false;
match(S, Re, _Context) ->
case re:run(S, Re) of
match ->

0 comments on commit c151a99

Please sign in to comment.