Skip to content
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

Add support for signed Plist files #90

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

aydenp
Copy link

@aydenp aydenp commented May 31, 2018

Prior to this PR, plist files that were signed (such as the ones Apple provides as part of the MDM profile service response), would not work with plist.js.

This PR fixes that by checking for the starts and ends of the <plist> objects before feeding it into the XML parser. If it somehow can't find those tags, it falls back to the default behaviour, ensuring this change doesn't break any plist files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant