fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
minor fix
[redakcja.git]
/
apps
/
fileupload
/
views.py
diff --git
a/apps/fileupload/views.py
b/apps/fileupload/views.py
index
08aa323
..
2d97872
100644
(file)
--- 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: