Permalink
Browse files

Report non-POST requests when extensive debugging is enabled.

Author: BenBE <BenBE@geshi.org>
Signed-off-by: BenBE <BenBE@geshi.org>
Signed-off-by: Michał Pokrywka <michal.pokrywka@gmail.com>
  • Loading branch information...
1 parent c5c0e65 commit d5ac908ca56b513f0e15424265c8455cc0762bc9 @BenBE BenBE committed with mpokrywka Feb 11, 2011
Showing with 2 additions and 0 deletions.
  1. +2 −0 mod_upload_progress.c
View
@@ -154,6 +154,8 @@ static int upload_progress_handle_request(request_rec *r)
return DECLINED;
}
if (r->method_number != M_POST) {
+ ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, server,
+ "Upload Progress: Non-POST request in trackable location: %s.", r->uri);
return DECLINED;
}

0 comments on commit d5ac908

Please sign in to comment.