Bug#569191: libwww-perl: GET behavior changed in squeeze: URL stopped working
gregor herrmann
gregoa at debian.org
Wed Feb 10 18:05:59 UTC 2010
On Wed, 10 Feb 2010 18:16:03 +0100, Andreas B. Mundt wrote:
> we use GET to download a wikipage and further process the data to
> prepare the manual of Debian Edu. The command:
> GET "http://wiki.debian.org/DebianEdu/Documentation/Lenny/AllInOne?action=raw"
> works fine in Lenny, but stopped working in squeeze where "You are not
> allowed to access this!" is returned.
That seems to be a change on wiki.debian.org, I see the same with
wget and curl:
#v+
gregoa at belanna:/tmp$ GET "http://wiki.debian.org/DebianEdu/Documentation/Lenny/AllInOne?action=raw"
You are not allowed to access this!
gregoa at belanna:/tmp$ wget "http://wiki.debian.org/DebianEdu/Documentation/Lenny/AllInOne?action=raw"
--2010-02-10 19:01:40-- http://wiki.debian.org/DebianEdu/Documentation/Lenny/AllInOne?action=raw
Resolving wiki.debian.org... 93.94.130.161
Connecting to wiki.debian.org|93.94.130.161|:80... connected.
HTTP request sent, awaiting response... 403 FORBIDDEN
2010-02-10 19:01:40 ERROR 403: FORBIDDEN.
gregoa at belanna:/tmp$ curl "http://wiki.debian.org/DebianEdu/Documentation/Lenny/AllInOne?action=raw"
You are not allowed to access this!
gregoa at belanna:/tmp$
#v-
What works is specifying a user-agent:
#v+
gregoa at belanna:/tmp$ wget --user-agent="Iceweasel" "http://wiki.debian.org/DebianEdu/Documentation/Lenny/AllInOne?action=raw"
--2010-02-10 19:04:53-- http://wiki.debian.org/DebianEdu/Documentation/Lenny/AllInOne?action=raw
Resolving wiki.debian.org... 93.94.130.161
Connecting to wiki.debian.org|93.94.130.161|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1157 (1.1K) [text/plain]
Saving to: `AllInOne?action=raw'
100%[================================================>] 1,157 --.-K/s in 0s
2010-02-10 19:04:53 (17.1 MB/s) - `AllInOne?action=raw' saved [1157/1157]
gregoa at belanna:/tmp$
#v-
Cheers,
gregor
--
.''`. http://info.comodo.priv.at/ -- GPG Key IDs: 0x00F3CFE4, 0x8649AA06
: :' : Debian GNU/Linux user, admin, & developer - http://www.debian.org/
`. `' Member of VIBE!AT & SPI, fellow of Free Software Foundation Europe
`- NP: Neil Young: After The Goldrush
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20100210/ebc27ca5/attachment-0001.pgp>
More information about the pkg-perl-maintainers
mailing list