Project

General

Profile

Bug #1806

print the parsed config-file in internal form does not quote doublequote

Added by glen about 8 years ago. Updated over 6 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
Category:
core
Target version:
Start date:
2008-10-30
Due date:
% Done:

100%

Missing in 1.5.x:
No

Description

say i have in config:

accesslog.format = "%h %l %u %t \"%r\" %>s %b" 

and running lighttpd -pf lighttpd.conf, it displays without backslashes:

lighttpd -pf /etc/lighttpd/lighttpd.conf | grep accesslog.format
    accesslog.format               = "%h %l %u %t "%r" %>s %b" 

data_string_print_escape.patch.txt View (668 Bytes) glen, 2010-05-28 16:39

Associated revisions

Revision 5518643d (diff)
Added by glen over 6 years ago

- Print double quotes properly when dumping config file (fixes #1806)

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2725 152afb58-edef-0310-8abb-c4023f1b3aa9

Revision 2725 (diff)
Added by glen over 6 years ago

- Print double quotes properly when dumping config file (fixes #1806)

Revision 2726 (diff)
Added by glen over 6 years ago

- Print double quotes properly when dumping config file (fixes #1806)

History

#1 Updated by glen over 6 years ago

my proposed fix. works:

# lighttpd -pf /etc/lighttpd/lighttpd.conf | grep accesslog.format
accesslog.format               = "%h %l %u %t \"%r\" %>s %b" 

#2 Updated by glen over 6 years ago

  • Status changed from New to Fixed
  • % Done changed from 90 to 100

Applied in changeset r2725.

#3 Updated by glen over 6 years ago

  • Missing in 1.5.x changed from Yes to No

#4 Updated by glen over 6 years ago

  • Assignee set to glen

Also available in: Atom