Skip to content

stuff isn't escaped right #3

@nico

Description

@nico

If you use this json file:

var kTree = {
  "data": {
    "$area": 89118673, 
    "$dominant_symbol": ""
  }, 
  "name": "[everything] 89.1m", 
  "children": [
    {
      "data": {
        "$area": 19992565, 
        "$dominant_symbol": "code"
      }, 
      "name": "[path] 20.0m", 
      "children": [
        {
          "data": {
            "$area": 43, 
            "$symbol": "code"
          }, 
          "name": "\" <meta http-equiv='refresh' content='0;%s'>\" 43"
        }, 
      ]
    }
  ]
}

then the treemap will be replaced with a useless page ("%s") once it's done loading. (Happens when using it with chromium.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions