We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd747d4 commit 85d3244Copy full SHA for 85d3244
dashboards-reports/server/routes/utils/visual_report/visualReportHelper.ts
@@ -98,6 +98,7 @@ export const createVisualReport = async (
98
!ALLOWED_HOSTS.test(new URL(req.url()).hostname)
99
) {
100
if (req.isNavigationRequest() && req.redirectChain().length > 0) {
101
+ localStorageAvailable = false;
102
logger.error(
103
'Reporting does not allow redirections to outside of localhost, aborting. URL received: ' +
104
req.url()
@@ -107,7 +108,6 @@ export const createVisualReport = async (
107
108
'Disabled connection to non-allowlist domains: ' + req.url()
109
);
110
}
- localStorageAvailable = true;
111
req.abort();
112
} else {
113
req.continue();
0 commit comments