[tor-bugs] #7701 [Onionoo]: onionoo generates invalid JSON objects
Tor Bug Tracker & Wiki
blackhole at torproject.org
Tue Dec 11 11:20:58 UTC 2012
#7701: onionoo generates invalid JSON objects
---------------------+------------------------------------------------------
Reporter: hellais | Owner:
Type: defect | Status: new
Priority: normal | Milestone:
Component: Onionoo | Version:
Keywords: | Parent:
Points: | Actualpoints:
---------------------+------------------------------------------------------
Description changed by hellais:
Old description:
> While reviewing #5307 I noticed the onionoo generates invalid JSON data
> for certain items.
>
> In particular it adds some extraneous ``,`` in the ``running`` dict key.
>
> To reproduce do:
>
> {{
> curl -s https://onionoo.torproject.org/details | grep ',,' -B 5
> }}
New description:
While reviewing #5307 I noticed the onionoo generates invalid JSON data
for certain items.
In particular it adds some extraneous ``,`` in the ``running`` dict key.
To reproduce do:
{{{
curl -s https://onionoo.torproject.org/details | grep ',,' -B 5
}}}
--
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/7701#comment:1>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list