couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jch...@apache.org
Subject svn commit: r957613 - /couchdb/trunk/src/couchdb/couch_httpd.erl
Date Thu, 24 Jun 2010 16:35:58 GMT
Author: jchris
Date: Thu Jun 24 16:35:58 2010
New Revision: 957613

URL: http://svn.apache.org/viewvc?rev=957613&view=rev
Log:
better error message for db names, closes COUCHDB-741 thanks Frank

Modified:
    couchdb/trunk/src/couchdb/couch_httpd.erl

Modified: couchdb/trunk/src/couchdb/couch_httpd.erl
URL: http://svn.apache.org/viewvc/couchdb/trunk/src/couchdb/couch_httpd.erl?rev=957613&r1=957612&r2=957613&view=diff
==============================================================================
--- couchdb/trunk/src/couchdb/couch_httpd.erl (original)
+++ couchdb/trunk/src/couchdb/couch_httpd.erl Thu Jun 24 16:35:58 2010
@@ -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}) ->



Mime
View raw message