Skip to content

Commit 93d4f1a

Browse files
committed
Fix references in the news entry
1 parent 8b33f16 commit 93d4f1a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Misc/NEWS.d/next/Library/2017-12-30-18-21-00.bpo-28494.Dt_Wks.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
Improve zipfile validation in `zipfile.is_zipfile`.
1+
Improve zipfile validation in :meth:`zipfile.is_zipfile`.
22

3-
Before this change `zipfile.is_zipfile()` only checked the End Central Directory
3+
Before this change :meth:`zipfile.is_zipfile` only checked the End Central Directory
44
signature. If the signature could be found in the last 64k of the file,
5-
success! This produced false positives on any file with `'PK\x05\x06'` in the
5+
success! This produced false positives on any file with ``'PK\x05\x06'`` in the
66
last 64k of the file - including PDFs and PNGs.
77

88
This is now corrected by actually validating the Central Directory location

0 commit comments

Comments
 (0)