mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 17:14:44 +01:00
log REQUEST_URI not PATH_INFO, to log the correct request
This commit is contained in:
parent
7f14a2a196
commit
f7ebd11af3
@ -1329,7 +1329,7 @@ class groupdav extends HTTP_WebDAV_Server
|
|||||||
|
|
||||||
error_log('*** '.$_SERVER['REMOTE_ADDR'].' '.date('c').$msg_nl,$msg_type,$msg_file);
|
error_log('*** '.$_SERVER['REMOTE_ADDR'].' '.date('c').$msg_nl,$msg_type,$msg_file);
|
||||||
}
|
}
|
||||||
error_log($_SERVER['REQUEST_METHOD'].' '.$_SERVER['PATH_INFO'].' HTTP/1.1'.$msg_nl,$msg_type,$msg_file);
|
error_log($_SERVER['REQUEST_METHOD'].' '.$_SERVER['REQUEST_URI'].' HTTP/1.1'.$msg_nl,$msg_type,$msg_file);
|
||||||
// reconstruct headers
|
// reconstruct headers
|
||||||
foreach($_SERVER as $name => $value)
|
foreach($_SERVER as $name => $value)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user