Compare commits

...

1 Commits

Author SHA1 Message Date
Steven Hall 0f9a4f4aa7 Fix an issue where attackers could use the Nextjs image endpoint to redirect to any URL. 2024-05-14 10:56:12 +01:00
+9
View File
@@ -39,6 +39,15 @@ module.exports = withSentryConfig(
assetPrefix: process.env.GITBOOK_ASSETS_PREFIX,
poweredByHeader: false,
images: {
remotePatterns: [
{
protocol: 'https',
hostname: '*.gitbook.io',
}
]
}
},
{
silent: true,