#29791: Engine.render_to_string should honor the autoescape attribute
-------------------------------------------+------------------------
               Reporter:  Claude Paroz     |          Owner:  nobody
                   Type:  Bug              |         Status:  new
              Component:  Template system  |        Version:  master
               Severity:  Normal           |       Keywords:
           Triage Stage:  Unreviewed       |      Has patch:  0
    Needs documentation:  0                |    Needs tests:  0
Patch needs improvement:  0                |  Easy pickings:  0
                  UI/UX:  0                |
-------------------------------------------+------------------------
 In `Engine.render_to_string`, a `Context` is created without specifying
 the engine `autoescape` attribute. So if you create en engine with
 `autoescape=False` and then call its `render_to_string()` method, the
 result will always be autoescaped. It was probably overlooked in
 [19a5f6da329d58653bcda85].

-- 
Ticket URL: <https://code.djangoproject.com/ticket/29791>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/050.428fd55bc5f3a630a38bfb68af417edd%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to