Github user kxepal commented on a diff in the pull request:

    https://github.com/apache/couchdb-chttpd/pull/53#discussion_r36028470
  
    --- Diff: src/chttpd.erl ---
    @@ -724,10 +793,11 @@ error_info({bad_ctype, Reason}) ->
         {415, <<"bad_content_type">>, Reason};
     error_info(requested_range_not_satisfiable) ->
         {416, <<"requested_range_not_satisfiable">>, <<"Requested range not 
satisfiable">>};
    -error_info({error, illegal_database_name}) ->
    -    {400, <<"illegal_database_name">>, <<"Only lowercase letters (a-z), "
    -        "digits (0-9), and any of the characters _, $, (, ), +, -, and / 
are "
    -        "allowed. Moreover, the database name must begin with a 
letter.">>};
    +error_info({error, {illegal_database_name, Name}}) ->
    --- End diff --
    
    I guess if I provide my own `validate_db_name` hook with different regexp 
constraint, this error message will be true no more, right?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to