You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The chart didn't open in a new windows if the name of the preset contains an ampersand (&). A windows is opened, but the chart is not displayed.
The url behind the button is: /adapter/echarts/chart/index.html?preset=echarts.0.Wohnzimmer%20&%20K%C3%BCche
But instead of the unencoded ampersand & in the middle: %20&%20
it has to be an %26: %20%26%20
If I change the url manually, it works / the chart is loaded: /adapter/echarts/chart/index.html?preset=echarts.0.Wohnzimmer%20%26%20K%C3%BCche
To Reproduce
Open ioBroker and click on Charts (/#tab-echarts)
Select a preset with an ampersand in the name like "Wohnzimmer & Küche".
Press the button "Das Diagramm in einem eigenen Fenster öffnen" (in German)
New browser tab opens, but nothing is loaded.
Expected behavior
The chart should be opened in the new browser tab.
Screenshots & Logfiles
Versions:
Adapter version: 1.9.2
JS-Controller version: 6.0.11
Node version: 20.18.0
Operating system: linux (buanet/iobroker:latest-v10)
Additional context
The text was updated successfully, but these errors were encountered:
Describe the bug
The chart didn't open in a new windows if the name of the preset contains an ampersand (&). A windows is opened, but the chart is not displayed.
The url behind the button is:
/adapter/echarts/chart/index.html?preset=echarts.0.Wohnzimmer%20&%20K%C3%BCche
But instead of the unencoded ampersand
&
in the middle:%20&%20
it has to be an
%26
:%20%26%20
If I change the url manually, it works / the chart is loaded:
/adapter/echarts/chart/index.html?preset=echarts.0.Wohnzimmer%20%26%20K%C3%BCche
To Reproduce
Expected behavior
The chart should be opened in the new browser tab.
Screenshots & Logfiles
Versions:
Additional context
The text was updated successfully, but these errors were encountered: