Skip to content

Commit

Permalink
Be more strict when parsing plists
Browse files Browse the repository at this point in the history
  • Loading branch information
trufae committed Jan 11, 2018
1 parent b8c7671 commit 334bfa2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/parse.js
Original file line number Diff line number Diff line change
Expand Up @@ -211,5 +211,7 @@ function parsePlistXML (node) {

} else if (node.nodeName === 'false') {
return false;
} else {
throw new Error('Invalid PLIST tag ' + node.nodeName);
}
}

0 comments on commit 334bfa2

Please sign in to comment.