mitre-attack / attack-navigator

Web app that provides basic navigation and annotation of ATT&CK matrices
https://mitre-attack.github.io/attack-navigator
Apache License 2.0
2.01k stars 593 forks source link

Accesing data through queryParam `layerURL` #561

Closed olgasalas closed 1 year ago

olgasalas commented 1 year ago

When trying to open an existing layer directly in the URL, the queryParam layerURL needs to be called with # instead of ?.

I expected this link to be working: https://mitre-attack.github.io/attack-navigator/?layerURL=<custom_url>

But the one that works is this one: https://mitre-attack.github.io/attack-navigator/#layerURL=<custom_url>

clemiller commented 1 year ago

Hi @olgasalas,

The layerURL was purposefully encoded via a fragment rather than a query string (see issue #20).