cleanup, error pages
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user