Open DinoBrdar92 opened 2 years ago
Comparing groups-adlists.php
and groups-domains.php
they both seem to work the same. Also, in both cases they store an apostrophe in the database as '
. The difference is at lines 520-522 at script/.../groups.php, where for get_domains
the comment and domain fields are passed through htmlentities()
(thus turning '
into '
), but for get_adlists
they aren't.
Will be fixed by https://github.com/pi-hole/web/pull/2851 in v6
Versions
Platform
Expected behavior
Writing a comment within Blacklist/Whitelist with an apostrophe (') should have an apostrophe after confirming my comment
Actual behavior / bug
Writing a comment within Blacklist/Whitelist that contains apostrophe (') gets changed to
'
after confirmingSteps to reproduce
Steps to reproduce the behavior:
'
Debug Token
Screenshots
Screenshot from Reddit post here