function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Kamesh SinghKamesh Singh 

Custom Close Case Button Issue After Winter'21 Release

Hi All.

I have a Custom Close Case Button in my customer community and below is the code.
../{!Case.Id}/s?retURL=%2F{!Case.Id}&cas7=CLOSED

This code was working till last week before Winter'21 release but after that its failing and below errors we are getting.

This is the url its redirecting to:

https://InstanceName/CommunityName/servlet/servlet.ExternalRedirect?url=..%2F5002f000007yOnM%2Fs%3FretURL%3D%252F5002f000007yOnM%26cas7%3DCLOSED 

Error on Page.
You have sent us an Illegal URL or an improperly formatted request.
../5002f000007yOnM/s?retURL=%2F5002f000007yOnM&cas7=CLOSED


Can anyone please help on this?
VinayVinay (Salesforce Developers) 
Hi Kamesh,

This might happen if we are passing any special characters or % in the URL attributes.

Check below reference link for above error.

https://help.salesforce.com/articleView?id=000316466&language=en_US&type=1&mode=1

Thanks,