mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
Fix typos in multiple files (GH-26689)
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
This commit is contained in:
parent
736ed6f7a9
commit
17b16e13bb
24 changed files with 1023 additions and 1023 deletions
|
@ -177,8 +177,8 @@ class _PlistParser:
|
|||
return self.root
|
||||
|
||||
def handle_entity_decl(self, entity_name, is_parameter_entity, value, base, system_id, public_id, notation_name):
|
||||
# Reject plist files with entity declarations to avoid XML vulnerabilies in expat.
|
||||
# Regular plist files don't contain those declerations, and Apple's plutil tool does not
|
||||
# Reject plist files with entity declarations to avoid XML vulnerabilities in expat.
|
||||
# Regular plist files don't contain those declarations, and Apple's plutil tool does not
|
||||
# accept them either.
|
||||
raise InvalidFileException("XML entity declarations are not supported in plist files")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue