You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The a key is getting lost by warcio.js due to our current implementation of a replacer function passed to JSON.stringify. This needs to be addressed to consider full key paths.
Related to webrecorder/specs#141
warcio.js and pywb have slightly different behavior in terms of how keys are handled.
For example for an input
{"a": [[], {}, true, false, null, "", " ", 1, 1.0, -0.0]}
, we get the following results in warcio vs pywb:warcio's
jsonToQueryString
2=true&3=false&5=&6=+&7=1&8=1&9=0
pywb
a=True&a.2_=False&a.3_=None&a.4_=&a.5_=+&a.6_=1&a.7_=1.0&a.8_=-0.0
There are two key differences:
a
key is getting lost bywarcio.js
due to our current implementation of a replacer function passed toJSON.stringify
. This needs to be addressed to consider full key paths.The text was updated successfully, but these errors were encountered: