documentation icon indicating copy to clipboard operation
documentation copied to clipboard

Route filters

Open davidearl opened this issue 9 years ago • 3 comments

Hi, shouldn't the dots between the parts of the domain name in match_recipient be preceded by a backslash if these are regexps? e.g. match_recipient("info@example\.com") rather than match_recipient("[email protected]") While it's unlikely it'd match anyone else, with all the new TLDs, who knows, it might in future.

davidearl avatar May 31 '16 15:05 davidearl

Hi @davidearl, it looks like any backslashes you may have added got eaten by the Markdown parser. Could you surround your examples with grave quotes (``) so I can see what you're talking about?

pirogoeth avatar Nov 16 '16 23:11 pirogoeth

Sorry, I hadn't noticed. My point is in your examples there are dots between the parts of a domain name which will, I assume, match any character rather than the intended literal dot.

davidearl avatar Nov 16 '16 23:11 davidearl

Ah, fair point! I'll look in to it. Thanks!

pirogoeth avatar Dec 16 '16 23:12 pirogoeth