petabox: http://archive.org/stream/bookid and http://www.archive.org/stream/bookid should redirect to the same page

Bug #415625 reported by mangtronix
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Internet Archive BookReader
Confirmed
High
Unassigned

Bug Description

URLs that omit the "www" in www.archive.org should redirect to the same place.

Currently http://archive.org/stream/bookid may redirect to a datanode file listing while http://www.archive.org/stream/bookid correctly redirects to the bookreader.

Revision history for this message
mangtronix (mang) wrote :

Here's an example.

$ curl -v http://archive.org/stream/1966PlayboyInterview
* About to connect() to archive.org port 80 (#0)
* Trying 207.241.229.39... connected
* Connected to archive.org (207.241.229.39) port 80 (#0)
> GET /stream/1966PlayboyInterview HTTP/1.1
> User-Agent: curl/7.16.3 (powerpc-apple-darwin9.0) libcurl/7.16.3 OpenSSL/0.9.7l zlib/1.2.3
> Host: archive.org
> Accept: */*
>
< HTTP/1.1 302 Found
< Date: Tue, 18 Aug 2009 22:16:29 GMT
< Server: Apache/2.2.11 (Ubuntu) PHP/5.2.3-1ubuntu6 mod_ssl/2.2.11 OpenSSL/0.9.8e mod_wsgi/2.3 Python/2.5.1
< Location: http://www.archive.org/download.php/1966PlayboyInterview
...

 curl -v http://www.archive.org/stream/1966PlayboyInterview
* About to connect() to www.archive.org port 80 (#0)
* Trying 207.241.229.39... connected
* Connected to www.archive.org (207.241.229.39) port 80 (#0)
> GET /stream/1966PlayboyInterview HTTP/1.1
> User-Agent: curl/7.16.3 (powerpc-apple-darwin9.0) libcurl/7.16.3 OpenSSL/0.9.7l zlib/1.2.3
> Host: www.archive.org
> Accept: */*
>
< HTTP/1.1 302 Found
< Date: Tue, 18 Aug 2009 22:17:02 GMT
< Server: Apache/2.2.11 (Ubuntu) PHP/5.2.3-1ubuntu6 mod_ssl/2.2.11 OpenSSL/0.9.8e mod_wsgi/2.3 Python/2.5.1
< X-Powered-By: PHP/5.2.3-1ubuntu6
< Location: http://www.archive.org/details/1966PlayboyInterview

Changed in gnubook:
importance: Undecided → High
status: New → Confirmed
Revision history for this message
mangtronix (mang) wrote :

In the first example above for http://archive.org/stream/1966PlayboyInterview the problem is that we get redirected to http://www.archive.org/download.php/id instead of http://www.archive.org/stream/id

mangtronix (mang)
Changed in bookreader:
importance: Undecided → High
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.