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.
[FIXED] Quotes in CTB name corrupts click action.
Forum rules
You might want to read this if you're looking for priority service
Please Include The Following Information
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).
Use Your Profile Or Signature
We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.
How To Attach Images
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
You might want to read this if you're looking for priority service
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).
We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
-
TheQwerty
- Posts: 4373
- Joined: 03 Aug 2007 22:30
[FIXED] Quotes in CTB name corrupts click action.
Last edited by TheQwerty on 17 Sep 2014 17:53, edited 1 time in total.
Reason: Issued addressed.
Reason: Issued addressed.
-
Enternal
- Posts: 1175
- Joined: 10 Jan 2012 18:26
Re: ~v8.30.0012+ Quotes in CTB name corrupts click action.
That's interesting. I reported this issue a long time ago and I was sure it was fixed. I guess it came back or something.
EDIT: Nevermind. They're very similar but not quite the same. The problem I reported was when you put quotes in the actual Script section which would then corrupt the script.
EDIT: Nevermind. They're very similar but not quite the same. The problem I reported was when you put quotes in the actual Script section which would then corrupt the script.
-
admin
- Site Admin
- Posts: 67315
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: ~v8.30.0012+ Quotes in CTB name corrupts click action.
I will remove them. Thanks!TheQwerty wrote:Quotes should either be escaped, removed (like '|'), or rejected with errors.
FAQ | XY News RSS | XY X
XYplorer Beta Club