Loading

Error '503 service unavailable' when URL contain special characters

Julkaisupäivä: Oct 13, 2022
Kuvaus
When Special characters like "< ,>,( ,),{,},[,] ,!" are added to the custom URL of the salesforce sites, the URL will return the 503 error (not 404)
 
Ratkaisu
Whenever special character like "< ,>,( ,),{,},[,] ,!"  etc are added to the site URL then "503 service unavailable" as expected.

Example :-   The customer site https://subdomain.example.com (will work fine) .Now try to add one of the special characters  like  " < ,>,( ,),{,},[,] ,! " in the URL and the new URL will be like https://subdomain.example.com/<  and it will throw the error page 503 service unavailable  (
Press F12 to open the Browser console and check the Network tab for logs).

This happens because the request passes through a name validation check before it gets to a resource lookup. Name validation fails at that point and request will halt with a non 404 error and a subsequent resource lookup will not occur at all.

 
Knowledge-artikkelin numero

000381809

 
Ladataan
Salesforce Help | Article