Skip to content

Commit

Permalink
Merge r957613 from trunk:
Browse files Browse the repository at this point in the history
better error message for db names, closes COUCHDB-741 thanks Frank

git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/0.11.x@957971 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
janl committed Jun 25, 2010
1 parent 08e3630 commit 96be679
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/couchdb/couch_httpd.erl
Expand Up @@ -726,7 +726,7 @@ error_info({bad_ctype, Reason}) ->
error_info({error, illegal_database_name}) ->
{400, <<"illegal_database_name">>, <<"Only lowercase characters (a-z), "
"digits (0-9), and any of the characters _, $, (, ), +, -, and / "
"are allowed">>};
"are allowed. Must begin with a letter.">>};
error_info({missing_stub, Reason}) ->
{412, <<"missing_stub">>, Reason};
error_info({Error, Reason}) ->
Expand Down

0 comments on commit 96be679

Please sign in to comment.