Skip to content

Commit

Permalink
fix(security): Make Jinja tighter (#6564)
Browse files Browse the repository at this point in the history
  • Loading branch information
adityahase authored and rmehta committed Nov 29, 2018
1 parent 5857b92 commit e3ae072
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions frappe/website/render.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,9 +167,6 @@ def build_page(path):
frappe.local.path = path

context = get_context(path)
if context.title and "{{" in context.title:
title_template = context.pop('title')
context.title = frappe.render_template(title_template, context)

if context.source:
html = frappe.render_template(context.source, context)
Expand Down

0 comments on commit e3ae072

Please sign in to comment.