You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Pod template folder can only contain text files #821
This goes wrong if the file is a non-text file such as an image. The templating engine should only be called on text-based files, or perhaps even only on files that are indicated to be a template.
We could just catch the error there and return the raw file in case of error. Or we could check the content-type, but then we need a list of supported types. Or we could use a specific extension for files that need te be templated so they can easily be recognized, such as card.ttl.hbs.
Activity
RubenVerborgh commentedon Jul 19, 2021
I'd go for the recognized extension, and then strip it off.