X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/1c4c468783e5f380324c29ebc3b2c452da8cc2a0..00475040ce64f82be78711a188d40a3abf518af4:/apps/fileupload/views.py 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: