-
Notifications
You must be signed in to change notification settings - Fork 123
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
Be more strict when parsing plists #88
Conversation
related to #87 |
test case:
|
Can i have a review on this at least? i would love to use the official module but it's broken for my usecases so i need to keep maintaining my fork |
technically this is a breaking change, right? meaning this would have to be included with a major semver bump to v4, unless I misunderstand |
I appreciate the PRs. Please add at least 1 test to validate this behavior |
182a40b
to
d90ff97
Compare
Should be good to review now |
Isn't an empty string still considered valid? |
added a test for the empty string case |
maybe I misunderstood the test case. Which part of the plist is considered the invalid part? the |
yes. i'm using this library on millions of iOS apps and i think it's fine to consider invalid what's not correct to ease catching bugs in early stages of the problem. the output of this test without the patch results on this:
|
so basically this library switches it's philosophy from permissive to a more strict interpretation in v4, right? I'm not opposed to this, I think it's probably better to be strict, but I want to ensure this is communicated when the v4 migration doc is written. |
That's correct. maybe we can have an option disabled by default for this behaviour, so it doesnt breaks. will this way be merged? also i added the missing line to run the CI on pullreqsts in here |
good! :D thanks |
No description provided.