[FIXED] Quotes in CTB name corrupts click action.
Posted: 12 Aug 2013 20:29
I'm going to guess this is been the case since CTBs were introduced in v8.30.0007, but my collection of archives from that time skips from 8.30.0000 to 8.30.0012.
Pretty simple to recreate:
Put some double-quotes in a CTB's name. (i.e. A "B" C)
Click OK.
Go back to the edit dialog and the 'On Click' script will be corrupted. (It will now start with B" C||0|0" , which isn't a valid script.)
Quotes should either be escaped, removed (like '|'), or rejected with errors.
Pretty simple to recreate:
Put some double-quotes in a CTB's name. (i.e. A "B" C)
Click OK.
Go back to the edit dialog and the 'On Click' script will be corrupted. (It will now start with B" C||0|0" , which isn't a valid script.)
Quotes should either be escaped, removed (like '|'), or rejected with errors.