mirror of
https://github.com/askama-rs/askama.git
synced 2025-09-27 13:00:57 +00:00

Not for all operations the nesting level was incremented when needed and/or the un-incremented nesting level was used in subfunction calls. Binary operators such as `*` did not properly increment the nesting level. This PR changes `Level` in such a way that it can be used to keep track of the nesting level when used in a loop. It is now impossible to accidentally refer to an old nesting level value. Resolves <https://issues.oss-fuzz.com/issues/385256115>.
28 lines
511 B
TOML
28 lines
511 B
TOML
[default]
|
|
locale = "en-us"
|
|
|
|
[files]
|
|
extend-exclude = [
|
|
# generated files
|
|
"book/ethicalads-theme.css",
|
|
"fuzzing/fuzz/artifacts/",
|
|
"fuzzing/fuzz/corpus/",
|
|
"target/",
|
|
"rinja_parser/tests/*.txt",
|
|
"testing/templates/fuzzed-*",
|
|
# filler texts
|
|
"rinja/benches/strings.inc",
|
|
# too many false positives
|
|
"testing/tests/gen_ws_tests.py",
|
|
]
|
|
|
|
[default.extend-words]
|
|
# French words
|
|
exemple = "exemple"
|
|
existant = "existant"
|
|
# used in tests
|
|
Ba = "Ba"
|
|
fo = "fo"
|
|
Fo = "Fo"
|
|
sur = "sur"
|