cleanup, error pages

This commit is contained in:
root
2026-06-16 08:46:54 +00:00
parent f2a3503ac3
commit dff1959341
6 changed files with 35 additions and 62 deletions
+5
View File
@@ -172,6 +172,11 @@ void cli_run_http_smoke()
cli_expect_http("uce_http_smoke:starter workspace ONCE assets reach head", "/examples/uce-starter/?workspace/projects", 200, "css/workspace.css");
cli_expect_http("uce_http_smoke:starter ajax section", "/examples/uce-starter/?page2-section1", 200, "UCE starter AJAX fragment response");
cli_expect_http("uce_http_smoke:starter route traversal blocked", "/examples/uce-starter/?../../../demo/index", 404, "The requested page does not exist.");
// Configurable error page (page_runtime_error): a runtime fault must render the
// developer-defined error-page unit with the real error info marshalled across
// the membrane, at the error status. Asserts HTTP 500 AND that error["request_uri"]
// reached the page (the "mode=trap" query is only shown if error_info crossed).
cli_expect_http("uce_http_smoke:configurable error page 500 + error info", "/demo/error-reporting.uce?mode=trap", 500, "mode=trap");
}
void cli_run_site_suite()