[1227] Dev/Commit: just hope this works for passing illegal characters instead of crashing the whole program

Signed-off-by: Chiruclan <development@chiruclan.de>