Edit report at https://bugs.php.net/bug.php?id=64929&edit=1

 ID:                 64929
 Comment by:         matteosistisette at gmail dot com
 Reported by:        matteosistisette at gmail dot com
 Summary:            Bugtracker rejects legitimate and useful comments as
                     spam
 Status:             Open
 Type:               Bug
 Package:            Website problem
 PHP Version:        Irrelevant
 Block user comment: N
 Private report:     N

 New Comment:

Good catch.

Here is my error handler (and also my exception handler though I don't think
it's involved)

set_error_handler(function($errno, $errstr, $errfile, $errline){
    http_response_code(500);
    header("Content-Type: text/plain");
    $backtrace=debug_backtrace();
    $output="$errstr \n @ $errfile($errline)\n";
    foreach ($backtrace as $i=>$item) {
        //if (isset($item['args'])) print_r($item['args']);
        if ($i>0) $output.= "#$i. @ ".$item['file']."
(".$item['line']."): ".(isset($item['class'])?
$item['class']:'')."::".$item['function']."(".(is_array($item['args'])?
@implode(",",$item['args']):'').")\n";
    }
    S::error($output);
    die($output);
});


Previous Comments:
------------------------------------------------------------------------
[2013-05-28 18:17:25] matteosistisette at gmail dot com

No, Not even a single url.

Now it seems like it's not the @'s.
I tried to post a code that included a error handler and an exception handler.
When I posted only the error handler it was accepted. I'll try to post the 
whole 
message in pieces.

------------------------------------------------------------------------
[2013-05-28 18:03:22] [email protected]

I'm guessing you are attempting to post text with a bunch of URLs. Is that true?

------------------------------------------------------------------------
[2013-05-27 15:16:18] matteosistisette at gmail dot com

Ok, no, it's the combination of @ more something else.
However, removing the @'s from the snipped of code allowed me to post it.

------------------------------------------------------------------------
[2013-05-27 15:15:31] matteosistisette at gmail dot com

test @ test

------------------------------------------------------------------------
[2013-05-27 15:15:00] matteosistisette at gmail dot com

UNBELIEVABLE.
What causes the bugtracker to reject the message as spam is the mere precence 
of 
the "at" character (you know, the one used in emails).

How can you rely on such a demential method to detect spam?

------------------------------------------------------------------------


The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

    https://bugs.php.net/bug.php?id=64929


-- 
Edit this bug report at https://bugs.php.net/bug.php?id=64929&edit=1

-- 
PHP Webmaster List Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to