#42428 [Opn->Bgs]: . match :
| From: | bjori@php.net | Date: | Sat, 25 Aug 2007 18:21:26 +0000 |
| Subject: | #42428 [Opn->Bgs]: . match : | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-116668@lists.php.net to get a copy of this message | ||
ID: 42428
Updated by: bjori@php.net
Reported By: security at oman-web dot com
-Status: Open
+Status: Bogus
Bug Type: *Regular Expressions
Operating System: redhat enterprice linux 4
PHP Version: 4.4.7
New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions. Due to the volume
of reports we can not explain in detail here why your report is not
a bug. The support channels will be able to provide an explanation
for you.
Thank you for your interest in PHP.
Previous Comments:
------------------------------------------------------------------------
[2007-08-25 18:13:34] security at oman-web dot com
Description:
------------
Hello there
check this
-------------
<?php
if (ereg('.' ,'http://')) {
echo 'Match...!';
}
?>
-------------
i think that "." and ":" should not match...!
Reproduce code:
---------------
<?php
if (ereg('.' ,'http://')) {
echo 'Match...!';
}
?>
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=42428&edit=1