Browse Source
- Introduced new utility functions to ensure relative directory paths and prevent unsafe segments in environment variables for static and media directories. - Updated the STATIC_DIR, MEDIA_UPLOAD_SUBDIR, and RELATIVE_TMP_DIR exports to utilize these new functions, improving error handling and validation. - Adjusted POST_MEDIA_PUBLIC_PREFIX to align with the new static directory structure. These changes improve the robustness of media and static asset management, ensuring safer and more consistent directory configurations.main
1 changed files with 38 additions and 4 deletions
Loading…
Reference in new issue