From:             php dot net dot e at salvisberg dot com
Operating system: 
PHP version:      Irrelevant
Package:          Website problem
Bug Type:         Bug
Bug description:svn.php.net blocking Drupal?

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 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