python / cpython

The Python programming language
https://www.python.org
Other
63.15k stars 30.24k forks source link

zipfile: invalid link #73616

Closed 8dbff9b8-fe98-4fe7-8918-0f3f22bd26e8 closed 7 years ago

8dbff9b8-fe98-4fe7-8918-0f3f22bd26e8 commented 7 years ago
BPO 29430
Nosy @terryjreedy, @berkerpeksag, @serhiy-storchaka, @lucasmoeskops

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields: ```python assignee = None closed_at = created_at = labels = ['type-bug', '3.7', 'docs'] title = 'zipfile: invalid link' updated_at = user = 'https://github.com/lucasmoeskops' ``` bugs.python.org fields: ```python activity = actor = 'serhiy.storchaka' assignee = 'docs@python' closed = True closed_date = closer = 'serhiy.storchaka' components = ['Documentation'] creation = creator = 'lucasmus' dependencies = [] files = [] hgrepos = [] issue_num = 29430 keywords = [] message_count = 5.0 messages = ['286847', '286900', '286905', '286909', '296288'] nosy_count = 5.0 nosy_names = ['terry.reedy', 'docs@python', 'berker.peksag', 'serhiy.storchaka', 'lucasmus'] pr_nums = [] priority = 'normal' resolution = 'out of date' stage = 'resolved' status = 'closed' superseder = None type = 'behavior' url = 'https://bugs.python.org/issue29430' versions = ['Python 3.5', 'Python 3.6', 'Python 3.7'] ```

8dbff9b8-fe98-4fe7-8918-0f3f22bd26e8 commented 7 years ago

The ZipFile documentation shows a link to the PKZip Application Node. This link, with address "https://pkware.cachefly.net/webdocs/casestudies/APPNOTE.TXT" goes to a "Page Not Found" document.

terryjreedy commented 7 years ago

The Applicaton Note link in both the doc and here work for me with Firefox and Edge. ''' \<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

\<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> \<head> ...''' You must have been hit by a temporary glitch.

berkerpeksag commented 7 years ago

\<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

I think that HTML output suggests that their server configuration is broken. If you look at further down the page there is this error message:

<p>Something has triggered missing webpage on your
website. This is the default 404 error page for
<strong>nginx</strong> that is distributed with
EPEL.  It is located
<tt>/usr/share/nginx/html/404.html</tt></p>

And:

    $ curl -I https://pkware.cachefly.net/webdocs/casestudies/APPNOTE.TXT
    HTTP/1.1 404 Not Found
    ...

https://support.pkware.com/display/PKZIP/Application+Note+Archives might be a suitable alternative to the broken link. I'm adding Serhiy to nosy list since he knows a lot about the ZIP file format.

serhiy-storchaka commented 7 years ago

https://support.pkware.com/display/PKZIP/Application+Note+Archives contains links to old versions of APPNOTE (the last is 6.3.3). But the actual version was at least 6.3.4 (I have a local copy).

All external links refer to http://www.pkware.com/documents/casestudies/APPNOTE.TXT. I think we should report a bug to PKWare.

serhiy-storchaka commented 7 years ago

The link already is fixed.