mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-13 08:13:22 +00:00
Blanch the 404 error message for those with no sense of humor
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@144314 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -526,7 +526,7 @@ out404:
|
|||||||
*status = 404;
|
*status = 404;
|
||||||
*title = strdup("Not Found");
|
*title = strdup("Not Found");
|
||||||
*contentlength = 0;
|
*contentlength = 0;
|
||||||
return ast_http_error(404, "Not Found", NULL, "Nothing to see here. Move along.");
|
return ast_http_error(404, "Not Found", NULL, "The requested URL was not found on this server.");
|
||||||
|
|
||||||
out500:
|
out500:
|
||||||
route = unref_route(route);
|
route = unref_route(route);
|
||||||
|
Reference in New Issue
Block a user