Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Ticket #2451 (closed defect: fixed)

Opened 9 years ago

Last modified 9 years ago

[PATCH] Override template failing in 2.1

Reported by: vinces1979 Owned by:
Priority: normal Milestone: 2.1b2
Component: TurboGears Version: 2.1a3
Severity: normal Keywords:
Cc:

Description

when finding the template engine lookup doesn't take into account that the content_type might include encoding ex: content_type=text/html; charset=utf-8

Attachments

tg2.1_decorators.py.diff Download (782 bytes) - added by vinces1979 9 years ago.

Change History

Changed 9 years ago by vinces1979

comment:1 Changed 9 years ago by percious

  • Milestone changed from __unclassified__ to 2.1b2

comment:2 Changed 9 years ago by lmacken

  • Status changed from new to closed
  • Resolution set to fixed

Applied in  http://bitbucket.org/turbogears/tg-dev/changeset/898cde174975 -- test suite passes.

Thanks for the patch, vinces1979!

Note: See TracTickets for help on using tickets.