Tobias Kreidl escreveu:
Rianto Wahyudi wrote on 2007-10-07 01:25:
| %yahoo.com%                |
Shouldn't that read "%yahoo.com" (no trailing "%")?
Yeah ... the trailing % really seems to be a mistyped character. Anyway, it would match even with that extra trailing %:

mysql> select 'something.yahoo.com' like '%.yahoo.com%';
+-------------------------------------------+
| 'something.yahoo.com' like '%.yahoo.com%' |
+-------------------------------------------+
|                                         1 |
+-------------------------------------------+
1 row in set (0.00 sec)

mysql> select 'something.yahoo.com' like '%.yahoo.com'; +------------------------------------------+
| 'something.yahoo.com' like '%.yahoo.com' |
+------------------------------------------+
|                                        1 |
+------------------------------------------+
1 row in set (0.00 sec)

mysql> select 'something.yahoo.com' like '%.microsoft.com'; +----------------------------------------------+
| 'something.yahoo.com' like '%.microsoft.com' |
+----------------------------------------------+
|                                            0 |
+----------------------------------------------+
1 row in set (0.00 sec)

--


        Atenciosamente / Sincerily,
        Leonardo Rodrigues
        Solutti Tecnologia
        http://www.solutti.com.br

        Minha armadilha de SPAM, NÃO mandem email
        [EMAIL PROTECTED]
        My SPAMTRAP, do not email it




Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
policyd-users mailing list
policyd-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/policyd-users

Reply via email to