MCPcopy Create free account
hub / github.com/apache/httpd / log_request_line

Function log_request_line

modules/loggers/mod_log_config.c:360–375  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

358}
359
360static const char *log_request_line(request_rec *r, char *a)
361{
362 /* NOTE: If the original request contained a password, we
363 * re-write the request line here to contain XXXXXX instead:
364 * (note the truncation before the protocol string for HTTP/0.9 requests)
365 * (note also that r->the_request contains the unmodified request)
366 */
367 return ap_escape_logitem(r->pool,
368 (r->parsed_uri.password)
369 ? apr_pstrcat(r->pool, r->method, " ",
370 apr_uri_unparse(r->pool,
371 &r->parsed_uri, 0),
372 r->assbackwards ? NULL : " ",
373 r->protocol, NULL)
374 : r->the_request);
375}
376
377static const char *log_request_file(request_rec *r, char *a)
378{

Callers

nothing calls this directly

Calls 1

ap_escape_logitemFunction · 0.85

Tested by

no test coverage detected