View | Details | Raw Unified | Return to bug 44014
Collapse All | Expand All

(-)modules/http/http_protocol.c (-2 / +2 lines)
Lines 931-937 Link Here
931
    case HTTP_LENGTH_REQUIRED:
931
    case HTTP_LENGTH_REQUIRED:
932
        s1 = apr_pstrcat(p,
932
        s1 = apr_pstrcat(p,
933
                         "<p>A request of the requested method ",
933
                         "<p>A request of the requested method ",
934
                         r->method,
934
                         ap_escape_html(r->pool, r->method),
935
                         " requires a valid Content-length.<br />\n",
935
                         " requires a valid Content-length.<br />\n",
936
                         NULL);
936
                         NULL);
937
        return(add_optional_notes(r, s1, "error-notes", "</p>\n"));
937
        return(add_optional_notes(r, s1, "error-notes", "</p>\n"));
Lines 978-984 Link Here
978
                           "The requested resource<br />",
978
                           "The requested resource<br />",
979
                           ap_escape_html(r->pool, r->uri), "<br />\n",
979
                           ap_escape_html(r->pool, r->uri), "<br />\n",
980
                           "does not allow request data with ",
980
                           "does not allow request data with ",
981
                           r->method,
981
                           ap_escape_html(r->pool, r->method),
982
                           " requests, or the amount of data provided in\n"
982
                           " requests, or the amount of data provided in\n"
983
                           "the request exceeds the capacity limit.\n",
983
                           "the request exceeds the capacity limit.\n",
984
                           NULL));
984
                           NULL));

Return to bug 44014