Fixed bug#9218 - Cannot use special characters in TicketHook.