User receives 404 response when requesting a Static resource through View File link in Setup page.
Steps To Reproduce:
1. Go to Setup, Enter Static resources in the Quick Find box.
2. Pick Static resource in default name space and Click View file.
3. Observe 404 error on the page.
This is caused by 'Lock sessions to the domain in which they were first used' setting in Session settings. This will cause the user's session to be locked to the Lightning domain and it will be linked to the default namespace. Due to this accessing resource in default namespace(--c) from VF domain will fail. Accessing resource from Lightning domain works correctly
Steps to disable the permissions:
1. Go to Setup, Enter Session settings in the Quick Find box.
2. Uncheck 'Lock sessions to the domain in which they were first used'
004615437

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.