Ticket #320 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

Javascript parsing error while parsing scan result

Reported by: rcarvalho Owned by: rcarvalho
Priority: blocker Milestone: UmitWeb 0.5 ALPHA 1
Component: umitWeb Version: current svn
Keywords: Cc:

Description

When you run any scan in UmitWeb, it appears to run eternally. Analyzing Javascript errors using Firebug, I've found this error:

missing : after property id

I've attached a file containing the result (as a response from a /scan/check/, "JSONalized")

Attachments

scan_result.txt (21.2 kB) - added by rcarvalho 4 years ago.
scan result in JSON format.

Change History

Changed 4 years ago by rcarvalho

scan result in JSON format.

Changed 4 years ago by rcarvalho

  • status changed from new to assigned

I already discovered what it is. The JsonParser? is not escaping unicode strings correctly (they're appearing as u'string', not 'string').

I'll stop reinventing the wheel. I'm making a fork of simplejson, and will handle integration in ticket #321

Changed 4 years ago by rcarvalho

  • status changed from assigned to closed
  • resolution set to fixed

Fixed on revision r4684

Note: See TracTickets for help on using tickets.