From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030113 Description of problem: The logwatch report on the http service incorrectly includes some valid request URL's (under the unidentified 'other' category) if those log entries have multiple space characters in the quoted request field. For example: A total of 9 unidentified 'other' records logged POST /~cddb/cddb.cgi HTTP/1.0 with response code(s) 200 200 200 200 ... (Note the two spaces after the POST keyword, which is exaclty how these requests also appear in the access_log file.) Version-Release number of selected component (if applicable): logwatch-5.1-3 How reproducible: Always Steps to Reproduce: 1. Produce access_log entries with multiple consecutive spaces in request field. 2. Run: logwatch --service http 3. Note incorrectly flagged request in report. Actual Results: Report includes requests that should be considered valid otherwise. Expected Results: Such requests should not be included in the report. Additional info: Patch to follow.
Created attachment 104606 [details] patch to allow multiple spaces in http request field
Applied