Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTML code escaping into GUI #1513

Closed
3 tasks done
arfbarky opened this issue Jul 20, 2020 · 4 comments · Fixed by #2100
Closed
3 tasks done

HTML code escaping into GUI #1513

arfbarky opened this issue Jul 20, 2020 · 4 comments · Fixed by #2100

Comments

@arfbarky
Copy link

In raising this issue, I confirm the following: {please fill the checkboxes, e.g: [X]}

How familiar are you with the the source code relevant to this issue?:

1


Expected behavior:

A couple of places in the GUI should display normal text; in one case, the font should be italicized and in the other case it should display a single quote

Actual behavior:

In Settings -> DHCP under Current Leases, I see "<i>unknown</i>" ... for the other, under Group Management -> Clients, after adjusting an entries group membership and applying, the single quote is replaced by "&#039;" when the next entry still correctly displays the single quote.

Screenshots of the two issues in the GUI

Steps to reproduce:

It started behaving this way as soon as I updated to 5.1

Debug token provided by uploading pihole -d log:

https://tricorder.pi-hole.net/8wxv08x886

Troubleshooting undertaken, and/or other relevant information:

I have not attempted to fix this issue

@yubiuser
Copy link
Member

yubiuser commented Jul 20, 2020

This first issue (regarding the unknown) is addressed here
#1509

@dschaper dschaper transferred this issue from pi-hole/pi-hole Jul 20, 2020
@github-actions
Copy link
Contributor

This issue is stale because it has been open 30 days with no activity. Please comment or update this issue or it will be closed in 5 days.

@yubiuser
Copy link
Member

Adding bug because the <i>unknown</i> is back in the recent versions. And the single quote is replaced by "&#039;" should remind us that the whole escaping/unescaping needs a re-work

@yubiuser
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants