Bug #4913 » accesslog.diff
webrick/accesslog.rb 2011-06-21 19:21:33.310915933 +0200 → webrick/accesslog.rb 2011-06-21 19:18:39.054646832 +0200 | ||
---|---|---|
when ?e, ?i, ?n, ?o
|
||
raise AccessLogError,
|
||
"parameter is required for \"#{spec}\"" unless param
|
||
param = params[spec][param] ? escape(param) : "-"
|
||
param = params[spec][param] ? escape(params[spec][param]) : "-"
|
||
when ?t
|
||
params[spec].strftime(param || CLF_TIME_FORMAT)
|
||
when ?%
|