Bug #67540 [Com]: svn.php.net blocking Drupal?
| From: | php dot net dot e at salvisberg dot com | Date: | Fri, 04 Jul 2014 21:19:07 +0000 |
| Subject: | Bug #67540 [Com]: svn.php.net blocking Drupal? | ||
| References: | 1 | Groups: | php.webmaster |
| Request: | Send a blank email to php-webmaster+get-19400@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=67540&edit=1
ID: 67540
Comment by: php dot net dot e at salvisberg dot com
Reported by: php dot net dot e at salvisberg dot com
Summary: svn.php.net blocking Drupal?
Status: Not a bug
Type: Bug
Package: Website problem
PHP Version: Irrelevant
Block user comment: N
Private report: N
New Comment:
Thank you for your reply and comments. I'm sorry if we have caused you grief -- this was surely
a bug and not intentional. I'm not sure why you call it "abusing" though.
One Drupal module that implements a mechanism to download from your svn repository is https://www.drupal.org/project/include. There may
be others besides it, and I don't know whether this is the one that ran away, but it's the
one we were using.
I see your point about downloading from the svn trunk. I guess, the original developer tried to
automate retrieving the dependencies to make it as easy as possible to get up and running quickly
without having to deal with pear install and having to wrestle with getting the dependencies to
where his module can find them.
In the case of Mail_mimeDecode, downloading from the trunk is probably appropriate though, because
there is no current branch / release package.
Previous Comments:
------------------------------------------------------------------------
[2014-06-30 05:27:28] bjori@php.net
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.
------------------------------------------------------------------------
[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