44
Views
8
Comments
Solved
[FullCalendar 2] Facing issues in fullcalendar-2
fullcalendar-2
Web icon
Forge asset by João Grazina
Application Type
Traditional Web

Ensure the expression is protected by using EncodeHTML(), EncodeJavascript(), or SanitizeHtml() from the Sanitization extension, to avoid security flaws. 


I am getting this error from the service studio, 

how to fix this javascript injection.

The recommended solution is to use the

EncodeJavascript EncodeJS 


issue_forge.png
2023-09-06 07-26-35
Sudip Pal
Solution


Hey @Naveen N ,

Follow the below steps :

1)Manage dependency and add "SanitizeHtml"


2)Set the expressions Escape Content as NO

3)Wrap the script inside SanitizeHtml.


4)Check again the Escape content which must be set as NO




This steps will resolve your problem!!

Thanks & Regards,

Sudip Pal

2022-09-05 08-23-51
Naveen N

@Sudip Pal  Thank you, let me check and let you know.

2022-09-05 08-23-51
Naveen N

cool that works !!!!!!!!!!!!! ,

 you are awesome, thank you for your response. @Sudip Pal 

2023-09-06 07-26-35
Sudip Pal

Yeah Sure, please let me know. I believe it will definitely work.

If it does not work, I will try another approach.

Thanks & Regards,

Sudip Pal

2022-09-05 08-23-51
Naveen N

Sure will let you know if i face any issues, Thanks.

2022-09-05 08-23-51
Naveen N

@Sudip Pal  I am not facing the issue in service studio now, but in architecture dashboard still it is showing the issue exist, even i did twice the manual sync.

2023-09-06 07-26-35
Sudip Pal

Hey @Naveen N ,

Architecture Dashboard takes time to sync .

Wait for few hours.I am not sure but it takes around 12 hours.

Thanks & Regards,

Sudip Pal

2022-09-05 08-23-51
Naveen N

Yes, for that reason we did the sync manually twice.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.