[Bug 257726] www/obhttpd cannot parse types {} block

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 10 Aug 2021 08:53:08 +0000
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257726

--- Comment #1 from Nikola Kolev <koue_at_chaosophia.net> ---
Hi Quentin,

I did test with the attached configuration file and indeed it reports syntax
error on the types line. "log" is keyword in the configuration file and the
parser get confused. After adding quotes the syntax is OK:

types {
        text/plain      txt "log"
}

Cheers,
Nikola

-- 
You are receiving this mail because:
You are the assignee for the bug.
Received on Tue Aug 10 2021 - 08:53:08 UTC

Original text of this message