« Previous | Next » 

Revision 8762cd91

ID8762cd91d138adb7a4cfa4d289e5bfa2a735155a

Added by Bastian Waidelich over 10 years ago

[BUGFIX] Sanitize identifier when compiling templates

The "identifier" of a compiled template is based on the
last modification timestamp and on the name of the original
template/partial/layout.
if that name contains special characters (like dashes),
the class name of the compiled template is invalid
resulting in a fatal error.
This is fixed by sanitizing the identifier before creating
the compiled template.

Change-Id: I89eb9fae476d7e642618639f56d401158f69f7e8
Resolves: #29457

  • added
  • modified
  • copied
  • renamed
  • deleted