You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by rn...@apache.org on 2014/08/01 11:12:13 UTC

[25/50] fabric commit: updated refs/heads/windsor-merge-121 to 79e6e2f

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 <ad...@cloudant.com>
Authored: Wed Oct 16 13:56:35 2013 -0400
Committer: Robert Newson <rn...@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">> ->