Rocket/contrib/dyn_templates/tests/templates
Sergio Benitez a7536a3c6e Avoid using 'glob' to walk templates directory.
Previously, `dyn_templates` walked the user-provided `template_dir` path by
constructing a glob pattern prefixed with `template_dir`. If `template_dir`
contained characters recognized by the glob pattern parser, then at best the
pattern failed to parse, and at worst, incorrect directories were searched.

This commit removes the use of `glob` to walk the templates directory and
instead uses `walkdir`, obviating the issues described above.

Fixes #2627.
2023-10-26 20:01:06 -05:00
..
hbs Split 'rocket_contrib' into distinct crates. 2021-05-24 22:57:51 -07:00
tera Avoid using 'glob' to walk templates directory. 2023-10-26 20:01:06 -05:00