-
Notifications
You must be signed in to change notification settings - Fork 606
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add upper bound for coffeescript (for now)
- Loading branch information
1 parent
bd0f780
commit b856cb8
Showing
2 changed files
with
5 additions
and
6 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
b856cb8
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FYI this upper limit change has
parseString
returning[Object: null prototype]
which breaks anyone using.hasOwnProperty()
and other inherited object functions.b856cb8
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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
b856cb8
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@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.
b856cb8
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oops, I see, thanks. Missed it because the file date is 2 years ago due to the original commit.