aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-01-26Normalize resource path in `find-resource-file`.Wojtek Kosior
`..` and `.` are now legal as long as long as the path does not reference the resource root directory's parent.
2024-01-26Add `normalize-path` function.Wojtek Kosior
2024-01-25Add tests for `find-resource-file` and exceptions it raises.Wojtek Kosior
2024-01-25Better use of srfi-35 conditions.Wojtek Kosior
This commit defines `&not-found` and `&forbidden` condition types and allows special handlers to be registered to handle them during requests. All default handlers now ignore the value assigned to the `%default-headers` parameter and always use "text/plain; charset=utf-8" as content type. `cantius.scm` now imports SRFI-35 is using prefix, copyright years have been updated.
2024-01-25Forbid `.` and `..` in loaded resource file paths.Wojtek Kosior
2024-01-20Fix syntax error in .dir-locals.el.Wojtek Kosior
2023-12-19Test the values of %current-path and %current-path-string.Wojtek Kosior
2023-12-19Allow handlers to only return response body.Wojtek Kosior
2023-12-19Adjust backtrace frame range.Wojtek Kosior
2023-12-19Fix mismatched parenthesis in .dir-locals.el.Wojtek Kosior
2023-12-16Facilitate using parameters for endpoint-specific behavior.Wojtek Kosior
2023-12-16Make GUILE_TEST_DRIVER precious with AC_ARG_VAR().Wojtek Kosior
2023-12-16Initial commit.Wojtek Kosior