- changed status to resolved
jcopy has broken support for json-norecurse encoding
Issue #134
resolved
The jcopy
command used to support encodings of json
, json-nokeys
, json-norecurse
etc.
This commit to mhttpd.cxx broke the logic, and now only odb
/xml
/json
are supported - the json-*
variants result in odb-style output.
I think the fix is simple, just change
fmt_json = (equal_ustring(fmt, "json") > 0);
to
fmt_json = (strstr(fmt, "json") != NULL);
Comments (1)
-
- Log in to comment
You are absolutely correct. I was not aware of the different json encodings. Your patch should fix this, so I committed it.