Cornerstone Component: Entering only numbers followed with the column into textarea field will result in "DATA:IMAGE/SVG+XL; BASE64,..." garbage output in the Cornerstone editor

Entering only numbers followed with the colon into the textarea field will result in “DATA:IMAGE/SVG+XL; BASE64,…” garbage output in the Cornerstone editor.

Samples of the problematic values:
1:
01:
999:
11:00 << this is 24hour time format!
01:00 << this is 24hour time format!

OK value:
00:00

If you add any text character or space to the above problematic characters, the output is OK.
E.g.:
"11:00 "
“11:00a”
(with or without ")

When viewed in the browser, all the above problematic and non-problematic cases are displayed correctly!

Setup to reproduce the problem:

Basic setup and hierarchy:
01

Component parameters:
02

03

Data is inserted into the text element like so:
04

Output in the editor:

data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHdpZHRoPSc0OHB4JyBoZWlnaHQ9JzQ4cHgnIHZpZXdCb3g9JzAgMCA0OCA0OCcgdmVyc2lvbj0nMS4xJz48cmVjdCBmaWxsPSdyZ2JhKDAsIDAsIDAsIDAuMzUpJyB4PScwJyB5PScwJyB3aWR0aD0nNDgnIGhlaWdodD0nNDgnPjwvcmVjdD48L3N2Zz4=

How do we fix the problem?

Looking forward to hearing from you.

Kind regards.

Hello @dasbios,

Thanks for writing in! I believe that this is a bug in the latest release. I have reported the issue to our developers to make them aware of it. We do not have any patch or simple fix at the moment.

Please bear with us.

Hello @ruenel,

Thank you for the quick reply.

Can we look forward for the patch in the next Cornerstone update?

Kind regards.

Hello @dasbios,

I cannot promise at the moment. Rest assured that I will follow up on the issue with our developers so that action can be taken as soon as we release the next update.

Best Regards.

Thank you for the information.

Looking forward to the fix.

Kind regards.

You’re most welcome.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.