Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stuff isn't escaped right #3

Open
nico opened this issue Dec 28, 2013 · 0 comments
Open

stuff isn't escaped right #3

nico opened this issue Dec 28, 2013 · 0 comments

Comments

@nico
Copy link

nico commented Dec 28, 2013

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.)

danvk referenced this issue in danvk/webtreemap Aug 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant