Bug #1806

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

Added by glen over 5 years ago. Updated almost 4 years ago.

Status:FixedStart date:2008-10-30
Priority:NormalDue date:
Assignee:glen% Done:

100%

Category:core
Target version:1.4.27
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 Magnifier (668 Bytes) glen, 2010-05-28 16:39

Associated revisions

Revision 2725
Added by glen almost 4 years ago

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

Revision 2726
Added by glen almost 4 years ago

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

History

#1 Updated by glen almost 4 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 almost 4 years ago

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

Applied in changeset r2725.

#3 Updated by glen almost 4 years ago

  • Missing in 1.5.x changed from Yes to No

#4 Updated by glen almost 4 years ago

  • Assignee set to glen

Also available in: Atom