wondercms
wondercms copied to clipboard
System administration should escape data
If I specify the string <a href="https:// åäö, this is cool!
, the admin interface does not seem to work very well when I click on the Menu option. I think all output in the System administration section need to escape configuration option values, using htmlentities()
or some other mechanism.
Having said that, my "trial theme" does precisely that and seem to break the Simple Blog plugin (in one distinct place).
Hello @joho1968, when trying to reproduce the issue with a page named: "åäö, this is cool!", everything worked as expected, would you mind providing a screenshot of the issue?
You need to enter the full HTML above: <a href="https:// åäö, this is cool!
and then WonderCMS starts to behave somewhat erratically.
This is what I get when I'm in the Menu section of admin:
Unfortunately, it's very hard to take a screenshot after clicking on the "Edit" button for the field, but it contains a lot of strange HTML, etc.