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
Screen name() with apostrophe get's escaped causing & # 0 3 9 ; to appear instead. (spaces added because markdown decodes the & # 0 3 9 ; as and apostrophe)
To Reproduce
Steps to reproduce the behavior:
Create a screen (blah blah blah)
Have the name() method return "You're testing this"
Render screen and see the entity code in the header and <title> tag
Expected behavior
I expect the title and header to read "You're testing this" but it returns "You& # 0 3 9 ;re testing this"
Screenshots
Desktop (please complete the following information):
OS: Windows 11
Browser: Chrome
Version
Smartphone (please complete the following information):
Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]
Server (please complete the following information):
Platfrom Version: 14.14
Laravel Version: 10.10
PHP Version: [e.g. 8.1]
Database: MariaDB
Database Version: 10.4.28
Additional context
The text was updated successfully, but these errors were encountered:
I think the e() helper function should be removed from where the 'title' section is defined. Only the Screen class uses that view and the $name is set via a method that is strict typed as a string. The @yeild directive already escapes strings which I think is causing the problem. With that in mind, I think removing the e() shouldn't cause any security vulnerability.
BrianWendt
changed the title
Screen name() with apostrophe get's escaped causing ' to appear instead.
Screen name() with apostrophe gets escaped causing ' to appear instead.
Dec 5, 2023
Describe the bug
Screen name() with apostrophe get's escaped causing & # 0 3 9 ; to appear instead. (spaces added because markdown decodes the & # 0 3 9 ; as and apostrophe)
To Reproduce
Steps to reproduce the behavior:
name()
method return "You're testing this"Expected behavior
I expect the title and header to read "You're testing this" but it returns "You& # 0 3 9 ;re testing this"
Screenshots
Desktop (please complete the following information):
Smartphone (please complete the following information):
Server (please complete the following information):
Additional context
The text was updated successfully, but these errors were encountered: