removing leading space from refer and browser-field in CLF-Logfile
This commit is contained in:
parent
9d496f8d6f
commit
d03627531a
|
@ -130,8 +130,11 @@
|
||||||
; Files conform to CLF are expected to print the original line.
|
; Files conform to CLF are expected to print the original line.
|
||||||
(or http-code "-")
|
(or http-code "-")
|
||||||
(or filesize "-")
|
(or filesize "-")
|
||||||
(or referer "")
|
(if (string? referer) (string-trim referer char-set:whitespace) "")
|
||||||
(or user-agent "")))
|
(if (string? user-agent)
|
||||||
|
(string-trim user-agent char-set:whitespace)
|
||||||
|
"")))
|
||||||
|
|
||||||
|
|
||||||
;;; (httpd options)
|
;;; (httpd options)
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
|
Loading…
Reference in New Issue