mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-07-07 01:41:35 +00:00
fix: use getSsrfFilter for NAT64 support in ffmpegHelpers.js
Replace ssrfFilter with getSsrfFilter to allow NAT64 addresses (64:ff9b::/96) which are blocked by the default ssrf-req-filter. Signed-off-by: Arunesh Dwivedi <arunesh.devops@gmail.com>
This commit is contained in:
parent
4d733c339d
commit
cb40fef974
1 changed files with 2 additions and 2 deletions
|
|
@ -125,8 +125,8 @@ module.exports.downloadPodcastEpisode = (podcastEpisodeDownload) => {
|
|||
'User-Agent': userAgent
|
||||
},
|
||||
timeout: global.PodcastDownloadTimeout,
|
||||
httpAgent: global.DisableSsrfRequestFilter?.(podcastEpisodeDownload.url) ? null : ssrfFilter(podcastEpisodeDownload.url),
|
||||
httpsAgent: global.DisableSsrfRequestFilter?.(podcastEpisodeDownload.url) ? null : ssrfFilter(podcastEpisodeDownload.url)
|
||||
httpAgent: global.DisableSsrfRequestFilter?.(podcastEpisodeDownload.url) ? null : getSsrfFilter(podcastEpisodeDownload.url),
|
||||
httpsAgent: global.DisableSsrfRequestFilter?.(podcastEpisodeDownload.url) ? null : getSsrfFilter(podcastEpisodeDownload.url)
|
||||
})
|
||||
|
||||
Logger.debug(`[ffmpegHelpers] Successfully connected with User-Agent: ${userAgent}`)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue