Sketch tool fails on curly braces

Sketch tool fails on curly braces

bassbonematt
Enthusiast Enthusiast
971 Views
7 Replies
Message 1 of 8

Sketch tool fails on curly braces

bassbonematt
Enthusiast
Enthusiast

Looks like the sketch text tool can't handle curly braces, i.e. { and }. Using a curly brace causes every character in the text box to turn into the standard can't-render-this-character rectangle. When the curly brace is removed, the characters are rendered again. This happens regardless of which font face is used.

 

I'm on v2.0.5350, Windows 10.

 

(I'll upload a screencast later.)

Accepted solutions (1)
972 Views
7 Replies
Replies (7)
Message 2 of 8

paul.clauss
Alumni
Alumni
Accepted solution

Hi @bassbonematt 

 

Thanks for posting. This is a known issue in the development teams backlog (internal reference FUS-18251). I've made a note of your comments on their ticket - unfortunately there is no workaround for this behavior at this time.

Paul Clauss

Product Support Specialist




Message 3 of 8

rvandewa
Observer
Observer

Just ran into this issue today. 

I've discovered a workaround.   If you place a backslash before each brace, it will render them correctly. 

Message 4 of 8

therealsamchaney
Advocate
Advocate

Wow thank you, the backslash method worked for me! I've been trying to crack this one for a while.

0 Likes
Message 5 of 8

therealsamchaney
Advocate
Advocate

@paul.clauss Hi Paul, is there any update on this? Curly braces still break the text tool and it's been over 2 years since your last comment. The backslash workaround seems to work but for anyone who doesn't find this lone thread on this forum, they will be out of luck.

 

Thanks!

0 Likes
Message 6 of 8

nigel76FS8
Enthusiast
Enthusiast

I'm amazed that the Fusion team doesn't take input sanitisation a bit more seriously! If this was a website bug, you'd be talking some serious hacking issues if /, {, <, ?, etc weren't properly escaped during input.

Message 7 of 8

nigel76FS8
Enthusiast
Enthusiast

Replying to myself, I know, but I just got an email from Autodesk: "Re: Colour selector for &quot;Cycle component colour&quot;? (New message on the Autodesk forums or ideas)" where you can see they don't escape the & sign properly either when sending email!

0 Likes
Message 8 of 8

therealsamchaney
Advocate
Advocate

I agree. There may be some potential for security issues via arbitrary code execution. Even if not, the broken text tool in Fusion is more than reason enough to fix the bug in my opinion.

0 Likes