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

 ID:                 67540
 Updated by:         bj...@php.net
 Reported by:        php dot net dot e at salvisberg dot com
 Summary:            svn.php.net blocking Drupal?
-Status:             Open
+Status:             Not a bug
 Type:               Bug
 Package:            Website problem
 PHP Version:        Irrelevant
 Block user comment: N
 Private report:     N

 New Comment:

I do indeed recall an issue where we had to block drupal installation from 
ddosin our svn repository.

It is clearly not cool on your part to be abusing our repository like this - 
and its not very smart either, as a svn repository is not somewhere you should 
be sending your production users.


Please use the normal download mechanism offered.


Previous Comments:
------------------------------------------------------------------------
[2014-06-30 00:14:28] php dot net dot e at salvisberg dot com

Description:
------------
A Drupal module that I'm helping to maintain tries to download the following 
file:

http://svn.php.net/repository/pear/packages/Mail_mimeDecode/trunk/Mail/mimeDecode.php

I have no trouble downloading it using my web browser, but a user reports in 
https://www.drupal.org/node/2294753 that the request...

GET /repository/pear/packages/Mail_mimeDecode/trunk/Mail/mimeDecode.php HTTP/1.0
User-Agent: Drupal (+http://drupal.org/)
Host: svn.php.net

... fails with an HTTP forbidden notice.


Indeed, I can easily reproduce that with wget (see Test script). Are you 
blocking the "Drupal" user agent? Why?


Test script:
---------------
# wget --user-agent=Drupal 
http://svn.php.net/repository/pear/packages/Mail_mimeDecode/trunk/Mail/mimeDecode.php


Expected result:
----------------
--2014-06-30 02:06:43--  
http://svn.php.net/repository/pear/packages/Mail_mimeDecode/trunk/Mail/mimeDecode.php
Resolving svn.php.net... 213.189.17.212
Connecting to svn.php.net|213.189.17.212|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 39143 (38K) [text/plain]
Saving to: `mimeDecode.php'

100%[=================================================================================================>]
 39,143      --.-K/s   in 0.01s

2014-06-30 02:06:43 (2.69 MB/s) - `mimeDecode.php' saved [39143/39143]


Actual result:
--------------
--2014-06-30 02:01:51--  
http://svn.php.net/repository/pear/packages/Mail_mimeDecode/trunk/Mail/mimeDecode.php
Resolving svn.php.net... 213.189.17.212
Connecting to svn.php.net|213.189.17.212|:80... connected.
HTTP request sent, awaiting response... 403 Forbidden
2014-06-30 02:01:51 ERROR 403: Forbidden.



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



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

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

Reply via email to