Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#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


I2PControl returns malformed JSON with the method NetworkSetting?, parameter

For example (xx's are censored, but contain correct information):

lazygravy@i2p:~/test$ curl -k --data-binary '{"params": \
{"Token": "xx","": null}, \
"jsonrpc": "2.0", "method": "NetworkSetting", "id": "x"}'
        Type: SSU
        Cost: 6
        Options (4):
                [caps] = [xx]
                [host] = [xx]
                [key] = [xx]
                [port] = [xx]],"SettingsSaved":false,"RestartNeeded":false},"jsonrpc":"2.0"}


Change History (4)

comment:1 Changed 7 years ago by zzz

Owner: set to tuna
Status: newassigned

comment:2 Changed 7 years ago by tuna

Milestone: undecided0.9.19
Resolution: fixed
Status: assignedclosed changed to return byte[] of ip address.

comment:3 Changed 7 years ago by zzz

Not yet seen in kytv's mtn


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

Last edited 7 years ago by zzz (previous) (diff)

comment:4 Changed 7 years ago by tuna

Just pushed onto echelons clearnet repo.

Note: See TracTickets for help on using tickets.