django1/django/template
Aymeric Augustin b8ba73cd0c Raised SuspiciousFileOperation in safe_join.
Added a test for the condition safe_join is designed to prevent.

Previously, a generic ValueError was raised. It was impossible to tell
an intentional exception raised to implement safe_join's contract from
an unintentional exception caused by incorrect inputs or unexpected
conditions. That resulted in bizarre exception catching patterns, which
this patch removes.

Since safe_join is a private API and since the change is unlikely to
create security issues for users who use it anyway -- at worst, an
uncaught SuspiciousFileOperation exception will bubble up -- it isn't
documented.
2014-11-11 19:05:14 +01:00
..
loaders Raised SuspiciousFileOperation in safe_join. 2014-11-11 19:05:14 +01:00
__init__.py Fixed comment typo in django/template/__init__.py 2014-10-04 08:00:00 -04:00
base.py Fixed #23489 -- Added numpy 1.9+ support in template lookups 2014-09-29 19:51:39 -04:00
context.py Made the new template.Context.flatten() method a public API. 2014-02-16 15:18:45 +01:00
debug.py More attacking E302 violators 2013-11-02 13:12:09 -07:00
defaultfilters.py Fixed #23558 -- documented slugify limitations 2014-10-30 09:02:04 -04:00
defaulttags.py Limited lines to 119 characters in django/ 2014-09-05 09:22:16 -04:00
loader.py Limited lines to 119 characters in django/ 2014-09-05 09:22:16 -04:00
loader_tags.py Limited lines to 119 characters in django/ 2014-09-05 09:22:16 -04:00
response.py Fixed #23789 -- TemplateResponse handles context differently from render 2014-11-10 14:47:45 +00:00
smartif.py Fixed all E226 violations 2013-11-03 10:08:55 -08:00