X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/1c4c468783e5f380324c29ebc3b2c452da8cc2a0..97487ee6a55f54bd483c20557fb554fea4f28844:/apps/fileupload/views.py?ds=sidebyside 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: