couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rnew...@apache.org
Subject [25/50] fabric commit: updated refs/heads/windsor-merge-121 to 79e6e2f
Date Fri, 01 Aug 2014 09:12:13 GMT
Use the dollar_endonly option to prevent newlines

BugzID: 24203


Project: http://git-wip-us.apache.org/repos/asf/couchdb-fabric/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-fabric/commit/beaf7390
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-fabric/tree/beaf7390
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-fabric/diff/beaf7390

Branch: refs/heads/windsor-merge-121
Commit: beaf7390fdf9c0d28d58637eca8d01aa090415ee
Parents: feb5694
Author: Adam Kocoloski <adam@cloudant.com>
Authored: Wed Oct 16 13:56:35 2013 -0400
Committer: Robert Newson <rnewson@apache.org>
Committed: Thu Jul 31 13:43:43 2014 +0100

----------------------------------------------------------------------
 src/fabric_db_create.erl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-fabric/blob/beaf7390/src/fabric_db_create.erl
----------------------------------------------------------------------
diff --git a/src/fabric_db_create.erl b/src/fabric_db_create.erl
index c8f2d45..5a8334f 100644
--- a/src/fabric_db_create.erl
+++ b/src/fabric_db_create.erl
@@ -42,7 +42,7 @@ validate_dbname(DbName, Options) ->
     false ->
         ok;
     true ->
-        case re:run(DbName, ?DBNAME_REGEX, [{capture,none}]) of
+        case re:run(DbName, ?DBNAME_REGEX, [{capture,none}, dollar_endonly]) of
         match ->
             ok;
         nomatch when DbName =:= <<"_users">> ->


Mime
View raw message