php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #48126 [BUGS-WEB] "Please do not SPAM out bug system." (XML issue?)
Submitted: 2009-05-01 11:13 UTC Modified: 2012-06-07 23:20 UTC
From: bme at hst dot aau dot dk Assigned: philip (profile)
Status: Closed Package: Website problem
PHP Version: Irrelevant OS: Windows xp
Private report: No CVE-ID: None
 [2009-05-01 11:13 UTC] bme at hst dot aau dot dk
Description:
------------
I try to add feedback on a bug using the Comment page for the bug and after having entered all details, I constantly get the message:

Please do not SPAM out bug system.

I don't know how to continue from that.

The bug report itself contains XML code (reporting on SOAP extension) and I guess your spam system interprets the XML as too many links supplied. But how else am I supposed to give feedback on that bug when the supplied XML is required for full understanding of the issue?

Reproduce code:
---------------
This is the comment I wanted to add:

I tried the snapshot on windows xp, apache 2.2, with the php code supplied in this thread and this is what I see:

Request:

<soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:xmethods-delayed-quotes">
   <soapenv:Header/>
   <soapenv:Body>
      <urn:getCurrentDate soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
   </soapenv:Body>
</soapenv:Envelope>

Response:

<SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="urn:xmethods-delayed-quotes" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
   <SOAP-ENV:Body>
      <ns1:getCurrentDateResponse>
         <currentDate xsi:type="SOAP-ENC:Struct"/>
      </ns1:getCurrentDateResponse>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

Assuming the supplied wsdl and php server/client is correct, DateTime is still not being served correctly. I am not even seeing xsd:datetime in the response.

Expected result:
----------------
Comment should be accepted.

Actual result:
--------------
Please do not SPAM out bug system.

Patches

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-05-03 08:12 UTC] kalle@php.net
Yes, thats because when posting 5 or more links (that starts with http://), it will be seen as "spam".

Lets see if with this year's GSoC student working on bugs web this can be improved somehow.

Open -> Verified
 [2010-03-15 03:33 UTC] aharvey@php.net
Could we at least skip the spam check for logged in developers?
 [2010-03-15 03:41 UTC] philip@php.net
-Status: Verified +Status: Assigned -Assigned To: +Assigned To: philip
 [2010-03-15 03:41 UTC] philip@php.net
Sure, I'll make that happen.
 [2010-10-26 22:27 UTC] kalle@php.net
Philip, we could do strip_tags() prior to checking the number of links to remove "false positives", dirty but should work
 [2012-06-07 23:20 UTC] philip@php.net
-Status: Assigned +Status: Closed
 [2012-06-07 23:20 UTC] philip@php.net
Those brave souls who are logged in can now add SPAM:

http://git.php.net/?
p=web/bugs.git;a=commit;h=d236d4c3bf2d3bb30cdfc0e3a1cce52e5c3f6e39
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Sep 08 01:01:28 2024 UTC