You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Jens Alfke (JIRA)" <ji...@apache.org> on 2012/05/13 19:52:48 UTC

[jira] [Created] (COUCHDB-1479) Futon config UI won't allow "WWW-Authenticate" option to be added (name is lowercased)

Jens Alfke created COUCHDB-1479:
-----------------------------------

             Summary: Futon config UI won't allow "WWW-Authenticate" option to be added (name is lowercased)
                 Key: COUCHDB-1479
                 URL: https://issues.apache.org/jira/browse/COUCHDB-1479
             Project: CouchDB
          Issue Type: Bug
          Components: Futon
         Environment: Mac OS X
            Reporter: Jens Alfke
            Priority: Minor


When using the config UI in futon to add a new option, via the "Add a new section..." link at the bottom of the page, the name of the option is lowercased when written to the .ini file. (For some reason the case is preserved when altering the runtime configuration, though, so the problem doesn't manifest itself until the next time the server is restarted.)

This causes trouble when attempting to enable HTTP basic auth by adding a "WWW-Authenticate" option (value "Basic") to the [httpd] section. The actual data written to the .ini file is:

    [httpd]
    www-authenticate = Basic

which is not recognized when the server loads its configuration on restart.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira