feat(settings): expose image proxy private ranges (#479)

This commit is contained in:
InfinityPacer
2026-05-25 14:17:27 +08:00
committed by GitHub
parent ff3b5b4232
commit f5c8a463fa
4 changed files with 76 additions and 0 deletions

View File

@@ -1704,6 +1704,11 @@ export default {
securityImageDomainsHint: 'Allowed image domains whitelist for caching, used to control trusted image sources',
noSecurityImageDomains: 'No security domains',
securityImageDomainAdd: 'Add domain, e.g.: image.tmdb.org',
imageProxyAllowedPrivateRanges: 'Image Proxy Allowed Private Ranges',
imageProxyAllowedPrivateRangesHint:
'Only applies after a URL matches a security image domain. Use for TUN mappings or internal CDNs; broad ranges weaken SSRF protection',
noImageProxyAllowedPrivateRanges: 'No allowed ranges',
imageProxyAllowedPrivateRangeAdd: 'Add CIDR, e.g.: 198.18.0.0/15',
proxyHost: 'Proxy Server',
proxyHostHint: 'Set proxy server address, support: http(s), socks5, socks5h, etc.',
moviePilotAutoUpdate: 'Auto Update MoviePilot',

View File

@@ -1677,6 +1677,11 @@ export default {
securityImageDomainsHint: '允许缓存的图片域名白名单,用于控制可信任的图片来源',
noSecurityImageDomains: '暂无安全域名',
securityImageDomainAdd: '添加域名image.tmdb.org',
imageProxyAllowedPrivateRanges: '图片代理允许非公网网段',
imageProxyAllowedPrivateRangesHint:
'仅对已命中安全图片域名的地址生效,用于 TUN 映射、内网 CDN 等特殊场景;配置过宽会降低 SSRF 防护强度',
noImageProxyAllowedPrivateRanges: '暂无允许网段',
imageProxyAllowedPrivateRangeAdd: '添加 CIDR198.18.0.0/15',
proxyHost: '代理服务器',
proxyHostHint: '设置代理服务器地址支持http(s)、socks5、socks5h 等协议',
moviePilotAutoUpdate: '自动更新MoviePilot',

View File

@@ -1678,6 +1678,11 @@ export default {
securityImageDomainsHint: '允許緩存的圖片域名白名單,用於控制可信任的圖片來源',
noSecurityImageDomains: '暫無安全域名',
securityImageDomainAdd: '添加域名image.tmdb.org',
imageProxyAllowedPrivateRanges: '圖片代理允許非公網網段',
imageProxyAllowedPrivateRangesHint:
'僅對已命中安全圖片域名的地址生效,用於 TUN 映射、內網 CDN 等特殊場景;配置過寬會降低 SSRF 防護強度',
noImageProxyAllowedPrivateRanges: '暫無允許網段',
imageProxyAllowedPrivateRangeAdd: '添加 CIDR198.18.0.0/15',
proxyHost: '代理服務器',
proxyHostHint: '設置代理服務器地址支持http(s)、socks5、socks5h 等協議',
moviePilotAutoUpdate: '自動更新MoviePilot',