diff --git a/APPL/Shared/500_error.asp b/APPL/Shared/500_error.asp index 4bd1b4c5f8..9bcc9c3fbe 100644 --- a/APPL/Shared/500_error.asp +++ b/APPL/Shared/500_error.asp @@ -347,6 +347,7 @@ function LogErrorToFile() __SafeDoLog(ASPErrorText()); if (Request.ServerVariables("HTTP_REFERER").Count) __DoLog("Referer: " + Request.ServerVariables("HTTP_REFERER")); + __SafeDoLog(ShowSourcecode(-8, +4)); if (Request.QueryString.Count>0) // Hele URL is al wel gelogd maar dit is leesbaarder @@ -355,6 +356,10 @@ function LogErrorToFile() } try { + var method = Request.ServerVariables("REQUEST_METHOD"); + if (method == "POST" || Request.TotalBytes > 0) + __DoLog("POSTed " + Request.TotalBytes + " bytes"); + if (Request.Form.Count>0) __DoLogForm(); }