Logo
Explore Help
Sign In
zig/pugz
1
0
Fork 0
You've already forked pugz
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
4092e6ad8ebbb75916d1497b3c0356cbcc9bcd1c
pugz/tests/sample_data/pug-lexer/cases/mixins.rest-args.pug

7 lines
98 B
Plaintext
Raw Normal View History

fix: add security protections and cleanup failing tests Security fixes: - Add path traversal protection in include/extends (rejects '..' and absolute paths) - Add configurable max_include_depth option (default: 100) to prevent infinite recursion - New error types: MaxIncludeDepthExceeded, PathTraversalDetected Test cleanup: - Disable check_list tests requiring unimplemented features (JS eval, filters, file includes) - Keep 23 passing static content tests Bump version to 0.2.2
2026-01-24 14:31:24 +05:30
mixin list(tag, ...items)
#{tag}
each item in items
li= item
+list('ul', 1, 2, 3, 4)
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.3 Page: 34ms Template: 3ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API