Domain Description field incorrectly escapes certain unicode symbols
Closed this issue · 1 comments
cmrschwarz commented
Versions
Pi-hole version is v5.18.3 (Latest: v5.18.3)
web version is v5.21 (Latest: v5.21)
FTL version is v5.25.2 (Latest: v5.25.2)
Platform
docker (pihole/pihole:latest)
Bug
When entering a unicode symbol like °
(U+00B0, °
, the degree sign) into the description field on the 'Domains' page(admin/groups-domains.php), the symbol is displayed as it's html escape string (°
).
Steps to reproduce
- Go to the domains page (admin/groups-domains.php)
- Add a new domain where the description contains a
°
. (alternatively edit an existing one)
Expected Behavior
Like other description fields on the 'groups' or 'clients' pages, the value should not be escaped (these are <input>
html elements).
Screenshot: Observed
Screenshot: Expected
Additional context
cmrschwarz commented