If I find a bug this year, assuming the world still exists, will I get another gift if one is shipped out at Christmas?
That aside, I have found another bug.
Home >Dedicated servers>Services>Management of your installation templates (BETA)
You can create a template with a ' character in it.
This causes issues with the html for the web page (you cannot click on the edit/delete buttons).
The issue is that the web page uses ' for onclick= (in this case AjaxDelete)
Code:
onclick="AjaxDelete('Greg's server')"
It can be fixed in one of two ways:
1: escape the name
Code:
onclick="AjaxDelete('Greg\'s server')"
2: strip the ' character from your database and prevent the use of '
1 is easy and a minor change to your backend
2 would be a major pain.
I verified that the first option worked by editing the HTML (chrome browser ftw!) and changing 'Greg's server' to 'Greg\'s server' which allowed me to edit, delete etc the template.
Offending code:
Code:
