forked from erlyaws/yaws
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
replace json.erl with json2.erl to fix issue 50
Yaws issue 50 (erlyaws#50) notes that the json.erl module uses list_to_atom and is therefore dangerous due to the possibility of filling the atom table. Also, the test function in json.erl has been broken for quite some time. Deprecate json.erl and add json2.erl, which avoids list_to_atom. Repair the json2:test/0 function inherited from json.erl and add it to the t1 test suite. Change www/json_intro.yaws to refer to json2.
Showing
8 changed files
with
743 additions
and
14 deletions.
There are no files selected for viewing
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
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
Oops, something went wrong.