cyberpanel/filemanager
master3395 0bc8c745e4 Fix issue #1643: Fix downloadFile function to properly parse query parameters
- Changed from incorrect URI splitting to proper request.GET.get() method
- Added proper URL decoding with unquote()
- Fixed both downloadFile and RootDownloadFile functions
- Added path normalization for additional security
- Added file existence validation
- Improved error messages to match reported error format

This fixes the 'Unauthorized access: Not a valid file' error when downloading files from the file manager.
2026-01-07 23:47:23 +01:00
..
migrations Initial commit for v2.4.3 2025-08-01 14:56:30 +05:00
static/filemanager Implement .htaccess feature banner and extraction support in file manager 2025-12-17 19:19:00 +01:00
templates/filemanager Implement .htaccess feature banner and extraction support in file manager 2025-12-17 19:19:00 +01:00
.DS_Store Initial commit for v2.4.3 2025-08-01 14:56:30 +05:00
__init__.py Initial commit for v2.4.3 2025-08-01 14:56:30 +05:00
admin.py Initial commit for v2.4.3 2025-08-01 14:56:30 +05:00
apps.py Initial commit for v2.4.3 2025-08-01 14:56:30 +05:00
filemanager.py Implement .htaccess feature banner and extraction support in file manager 2025-12-17 19:19:00 +01:00
models.py Initial commit for v2.4.3 2025-08-01 14:56:30 +05:00
tests.py Initial commit for v2.4.3 2025-08-01 14:56:30 +05:00
urls.py Initial commit for v2.4.3 2025-08-01 14:56:30 +05:00
views.py Fix issue #1643: Fix downloadFile function to properly parse query parameters 2026-01-07 23:47:23 +01:00