From 96be6798d99fab82c41357ff23ee53260dfc6b56 Mon Sep 17 00:00:00 2001 From: Jan Lehnardt Date: Fri, 25 Jun 2010 14:19:43 +0000 Subject: [PATCH] Merge r957613 from trunk: 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 --- src/couchdb/couch_httpd.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/couchdb/couch_httpd.erl b/src/couchdb/couch_httpd.erl index cfe1acd3854..5422783c267 100644 --- a/src/couchdb/couch_httpd.erl +++ b/src/couchdb/couch_httpd.erl @@ -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}) ->