couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject svn commit: r957971 - /couchdb/branches/0.11.x/src/couchdb/couch_httpd.erl
Date Fri, 25 Jun 2010 14:19:43 GMT
Author: jan
Date: Fri Jun 25 14:19:43 2010
New Revision: 957971

URL: http://svn.apache.org/viewvc?rev=957971&view=rev
Log:
Merge r957613 from trunk:

better error message for db names, closes COUCHDB-741 thanks Frank

Modified:
    couchdb/branches/0.11.x/src/couchdb/couch_httpd.erl

Modified: couchdb/branches/0.11.x/src/couchdb/couch_httpd.erl
URL: http://svn.apache.org/viewvc/couchdb/branches/0.11.x/src/couchdb/couch_httpd.erl?rev=957971&r1=957970&r2=957971&view=diff
==============================================================================
--- couchdb/branches/0.11.x/src/couchdb/couch_httpd.erl (original)
+++ couchdb/branches/0.11.x/src/couchdb/couch_httpd.erl Fri Jun 25 14:19:43 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