This PR tried fixing issues regarding code injection by sanitizing the election json. Unfortunately it tried sanitizing a json but only strings can be sanitized. This needs to be solved properly, because as of now error messages shown in the create election screen don't work anymore.
This PR tried fixing issues regarding code injection by sanitizing the election json. Unfortunately it tried sanitizing a json but only strings can be sanitized. This needs to be solved properly, because as of now error messages shown in the create election screen don't work anymore.