| 358 | } |
| 359 | |
| 360 | static 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 | |
| 377 | static const char *log_request_file(request_rec *r, char *a) |
| 378 | { |
nothing calls this directly
no test coverage detected