- 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. |
||
|---|---|---|
| .. | ||
| migrations | ||
| static/filemanager | ||
| templates/filemanager | ||
| .DS_Store | ||
| __init__.py | ||
| admin.py | ||
| apps.py | ||
| filemanager.py | ||
| models.py | ||
| tests.py | ||
| urls.py | ||
| views.py | ||