Javascript shell does not escape quotes in field names

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Trivial - P5
    • None
    • Affects Version/s: None
    • Component/s: Shell
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      > x = {}
      { }
      > x['":false,"'] = '"'
      "
      > x
      { "":false,"" : "\"" }
      > interpreterVersion()
      SpiderMonkey 1.7
      
      > x = {}
      { }
      > x['":false,"'] = '"'
      "
      > x
      { "":false,"" : "\"" }
      > interpreterVersion()
      V8 3.12.19
      

            Assignee:
            Geert Bosch
            Reporter:
            Shaun Verch (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: