When an exception page is returned by the Edge SWG (ProxySG), it is not showing the name of all categories which the URL belongs to.
One URL can be categorized more than one category under BCIS database or can be under another database (i.e Local Database). For example, www.youtube.com is categorized as Mixed Content/Potentially Adult; Audio/Video Clips.
To display all category information on user-defined custom exception pages and under access logging, use $(cs-categories)
instead of $(cs-category).
This will display all the categories name that the URL belongs to.