Commit b856cb8
2 files changed
+5
-6
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
+1-1
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
79 | 79 |
| |
80 | 80 |
| |
81 | 81 |
| |
82 |
| - | |
| 82 | + | |
83 | 83 |
| |
84 | 84 |
| |
85 | 85 |
| |
|
4 commit comments
bonjonbovi87 commentedon Apr 11, 2023
FYI this upper limit change has
parseString
returning[Object: null prototype]
which breaks anyone using.hasOwnProperty()
and other inherited object functions.mariosteinbacher commentedon Apr 11, 2023
I was looking into the tests.
A way to check hasOwnProperty is:
{}.hasOwnProperty.call(xmlObjectHere, 'propertyname')
so you can't inject protos as I have seen in the discussions
Leonidas-from-XIV commentedon Apr 11, 2023
@bonjonbovi87 No, this has nothing to do with it. The reason why it doesn't work is because #603 was merged to avoid a security issue.
bonjonbovi87 commentedon Apr 11, 2023
Oops, I see, thanks. Missed it because the file date is 2 years ago due to the original commit.