#1517 closed defect (fixed)
Returns Malformed JSON
Reported by: | lazygravy | Owned by: | tuna |
---|---|---|---|
Priority: | minor | Milestone: | 0.9.19 |
Component: | apps/plugins | Version: | 0.9.18 |
Keywords: | I2PControl | Cc: | hottuna |
Parent Tickets: | Sensitive: | no |
Description
I2PControl returns malformed JSON with the method NetworkSetting?, parameter i2p.router.net.ssu.detectedip.
For example (xx's are censored, but contain correct information):
lazygravy@i2p:~/test$ curl -k --data-binary '{"params": \ {"Token": "xx","i2p.router.net.ssu.detectedip": null}, \ "jsonrpc": "2.0", "method": "NetworkSetting", "id": "x"}' https://127.0.0.1:7650/ {"id":"xx","result":{"i2p.router.net.ssu.detectedip":[RouterAddress: Type: SSU Cost: 6 Options (4): [caps] = [xx] [host] = [xx] [key] = [xx] [port] = [xx]],"SettingsSaved":false,"RestartNeeded":false},"jsonrpc":"2.0"}
Subtickets
Change History (4)
comment:1 Changed 6 years ago by
Owner: | set to tuna |
---|---|
Status: | new → assigned |
comment:2 Changed 6 years ago by
Milestone: | undecided → 0.9.19 |
---|---|
Resolution: | → fixed |
Status: | assigned → closed |
comment:3 Changed 6 years ago by
Not yet seen in kytv's mtn
Also:
mtn head
mtn: branch 'i2p.plugins.i2pcontrol' is currently unmerged:
07e6170989c18bbe37502d87da185526159caad4 dev@xxx 04/02/2015 04:42:00 PM
788244417dd79a3834b0e08941161ea6cb2af0b8 zzz@xxx 10/24/2014 02:46:56 PM
Note: See
TracTickets for help on using
tickets.
i2p.router.net.ssu.detectedip changed to return byte[] of ip address.