https://redmine.lighttpd.net/https://redmine.lighttpd.net/favicon.ico?13667327412020-11-16T04:45:43Zlighty labsLighttpd - Feature #3036: The on/off keywords in boolean configuration options is inconsistent, which might be misleading and error-prone.https://redmine.lighttpd.net/issues/3036?journal_id=120822020-11-16T04:45:43Ztow-conf
<ul></ul><p>A similar situation also in option "proxy.forwarded".</p> Lighttpd - Feature #3036: The on/off keywords in boolean configuration options is inconsistent, which might be misleading and error-prone.https://redmine.lighttpd.net/issues/3036?journal_id=120882020-11-16T06:38:40Zgstrauss
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Patch Pending</i></li><li><strong>Priority</strong> changed from <i>Normal</i> to <i>Low</i></li><li><strong>Target version</strong> changed from <i>1.4.x</i> to <i>1.4.56</i></li></ul><p>Thanks for pointing that out.</p>
<p>The historical code accepted only "enable" or "disable".</p>
<p>In recent lighttpd versions, I had created some shared code to translate additional string values to boolean while I was writing new code.</p>
<p>I have now gone back through the historical code to more consistently use the shared code for parsing boolean values from user-provided configuration.</p> Lighttpd - Feature #3036: The on/off keywords in boolean configuration options is inconsistent, which might be misleading and error-prone.https://redmine.lighttpd.net/issues/3036?journal_id=120892020-11-16T07:10:07Zgstrauss
<ul><li><strong>Status</strong> changed from <i>Patch Pending</i> to <i>Fixed</i></li></ul><p>Applied in changeset <a class="changeset" title="[multiple] more forgiving config str to boolean (fixes #3036) more consistent use of shared code..." href="https://redmine.lighttpd.net/projects/lighttpd/repository/14/revisions/730c932e3c32ea43dbbb2fad51c2ebfc9219b856">730c932e3c32ea43dbbb2fad51c2ebfc9219b856</a>.</p>