CMS MADE SIMPLE FORGE

Khronos

 

[#12695] Bad character causing javascript error in back and frontend

avatar
Created By: Matt Hornsby (DIGI3) (DIGI3)
Date Submitted: Wed Mar 13 10:54:00 -0400 2024

Assigned To:
Version: 1.0.0
CMSMS Version: 2.2.18
Severity: None
Resolution: None
State: Open
Summary:
Bad character causing javascript error in back and frontend
Detailed Description:
I haven't been able to reliably recreate, but an added event caused fullcalendar
js to fail with "uncaught syntax error: unexpected token '.'" in the console.

This is the line it's referencing:
function
htmlEscape(s){return(s+'').replace(/&/g,'&amp;').replace(/</g,'&lt;').replace(/>/g,'&gt;').replace(/'/g,'&#039;').replace(/"/g,'&quot;').replace(/\n/g,'<br
/>');.replace(/&lt;br\s?\/?&gt;/g,'<br />');}


History