From fc3d0e51e98867cc4169218cff782e9f072ede31 Mon Sep 17 00:00:00 2001 From: Thomas Porzelt Date: Sat, 19 Nov 2011 11:32:20 +0100 Subject: [PATCH] [core] fix invalid html in auto-generated responses --- src/main/response.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/response.c b/src/main/response.c index 0147304..48d978b 100644 --- a/src/main/response.c +++ b/src/main/response.c @@ -147,7 +147,7 @@ static gchar *li_response_error_description(guint status_code, guint *len) { ); case 402: SET_LEN_AND_RETURN_STR("

Insert coint.

"); case 403: SET_LEN_AND_RETURN_STR("

You don't have permission to access the requested resource.

"); - case 404: SET_LEN_AND_RETURN_STR("

The requested resource was not found.
Make sure you entered the correct URL in your browser.

\n"); + case 404: SET_LEN_AND_RETURN_STR("

The requested resource was not found.
Make sure you entered the correct URL in your browser.

"); case 405: SET_LEN_AND_RETURN_STR("

The requested method is not allowed for this resource.

"); case 406: SET_LEN_AND_RETURN_STR("

An appropriate representation of the requested resource could not be found.

"); case 407: SET_LEN_AND_RETURN_STR( @@ -174,13 +174,13 @@ static gchar *li_response_error_description(guint status_code, guint *len) { case 424: SET_LEN_AND_RETURN_STR("

The method could not be performed on the resource because the requested action depended on another action and that other action failed.

"); case 426: SET_LEN_AND_RETURN_STR("

This resource should be accessed via SSL.

"); /* 5XX server error */ - case 500: SET_LEN_AND_RETURN_STR("

The server encountered an internal error and was unable to complete your request.The server encountered an internal error and was unable to complete your request.

"); case 501: SET_LEN_AND_RETURN_STR("

The request method is not supported by this server.

"); case 502: SET_LEN_AND_RETURN_STR("

The proxy server received an invalid response from an upstream server.

"); case 503: SET_LEN_AND_RETURN_STR("

The server is temporarily unable to service your request due to maintenance downtime or capacity problems.
Please try again later.

"); case 504: SET_LEN_AND_RETURN_STR("

The proxy server did not receive a timely response from the upstream server.

"); case 505: SET_LEN_AND_RETURN_STR("

The requested http version is not supported by this server.

"); - case 506: SET_LEN_AND_RETURN_STR("

A variant for the requested resource is itself a negotiable resource.A variant for the requested resource is itself a negotiable resource.

"); case 507: SET_LEN_AND_RETURN_STR("

The request could not be fullfilled because of insufficient storage available on the server.

"); case 509: SET_LEN_AND_RETURN_STR("

The available bandwidth limit for this resource has been reached.

"); case 510: SET_LEN_AND_RETURN_STR("

A mandatory extension policy in the request is not accepted by the server for this resource.

");