It seems to me that the release note for 2.2.21 is incomplete.
It says, "Specifically, empty file names and paths with dot
segments will be
rejected."
But it's stricter than that: any path component causes the path
to be rejected:
> if name != os.path.basename(name):
> raise SuspiciousFileOperation("File name '%s'
includes path elements" % name)
Is this level of strictness necessary?
--Ned.
Details are available on the Django project weblog:
--
You received this message because you are subscribed to the Google Groups "django-announce" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-announ...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-announce/2B8F47F5-20C4-477B-81F4-DEA23A178294%40gmail.com.