X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/1c4c468783e5f380324c29ebc3b2c452da8cc2a0..507752b933a466dd8e962c0e34d0ec74d6de55b7:/apps/fileupload/views.py?ds=inline diff --git a/apps/fileupload/views.py b/apps/fileupload/views.py index 08aa3239..2d978727 100644 --- a/apps/fileupload/views.py +++ b/apps/fileupload/views.py @@ -43,7 +43,6 @@ class UploadViewMixin(object): """ path = os.path.abspath(os.path.join(settings.MEDIA_ROOT, self.get_directory(), filename)) - # WTF how would that be possible? if not path.startswith(os.path.abspath(settings.MEDIA_ROOT)): raise Http404 if filename: