Skip to content

Commit

Permalink
RFC8259 says a JSON null must be lower case.
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1914854 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
minfrin committed Dec 22, 2023
1 parent 3646493 commit a5d5016
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion encoding/apr_escape.c
Original file line number Diff line number Diff line change
Expand Up @@ -1438,7 +1438,7 @@ APR_DECLARE(apr_status_t) apr_escape_json(char *escaped, const char *str,

else if (quote) {
if (d) {
memcpy(d, "NULL", 5);
memcpy(d, "null", 5);
}
else {
size += 4;
Expand Down

0 comments on commit a5d5016

Please sign in to comment.