8000 Fix typos by enjoy-binbin · Pull Request #26689 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

Fix typos #26689

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 13 commits into from
Jun 13, 2021
Prev Previous commit
Next Next commit
Update plistlib.py
  • Loading branch information
terryjreedy authored Jun 12, 2021
commit c37bd5e4152fed448e1ff05fc42c21ad5e45f79e
2 changes: 1 addition & 1 deletion Lib/plistlib.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ def parse(self, fileobj):

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 vulnerabilities in expat.
# Regular plist files don't contain those decelerations, and Apple's plutil tool does not
# 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")

Expand Down
0