Skip to content
This repository
Browse code

extra directory access for upload_file

  • Loading branch information...
commit 5b2bac4220fe7cd05b4f208da7f5478387e0ead0 1 parent 8bfa546
Ian Ward authored July 16, 2012

Showing 1 changed file with 1 addition and 0 deletions. Show diff stats Hide diff stats

  1. 1  filebrowser/views.py
1  filebrowser/views.py
@@ -300,6 +300,7 @@ def _upload_file(request):
300 300
         if request.FILES:
301 301
             filedata = request.FILES['Filedata']
302 302
             filedata.name = convert_filename(filedata.name)
  303
+            _check_access(request, abs_path, filedata.name)
303 304
             # PRE UPLOAD SIGNAL
304 305
             filebrowser_pre_upload.send(sender=request, path=request.POST.get('folder'), file=filedata)
305 306
             # HANDLE UPLOAD

0 notes on commit 5b2bac4

Please sign in to comment.
Something went wrong with that request. Please try again.