mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-11-18 16:08:56 +00:00
The outside-project media check skipped any src starting with data:, blob:, about: or http(s): in any letter case, while the readers resolve everything but exact http:// and https:// URLs as a local path. A src such as data:x/../../outside/clip.mp4 passed the check and the readers opened the file it named. The check and the media type preflight now use the readers' remote test, isHttpUrl, and check every other src with a shared containment helper, isInsideAssetRoots. Frame extraction, the audio mix, and the HDR and video sound probes also refuse a local source outside the project, compiled and download folders on their own when outside files are not allowed.