ansible-community / ara

ARA Records Ansible and makes it easier to understand and troubleshoot.
https://ara.recordsansible.org
GNU General Public License v3.0
1.86k stars 173 forks source link

Unescaped label values in URL #477

Open bendem opened 1 year ago

bendem commented 1 year ago

What is the issue ?

The default subset label created when a play is limited via --limit can contain ampersands, which means, when clicking on the label, we always get an empty result due to part of the label value being interpreted as another parameter.

Example: ?label=subset:vault,&staging

What should be happening ?

& should be escaped to ?label=subset:vault,%26staging (the decoding works fine, if I fix the URL manually, I get the expected result).

dmsimard commented 1 year ago

Hi @bendem and thanks for the issue !

This looks like a legit bug so I will leave this issue opened so we can fix it eventually.