couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kxe...@apache.org
Subject couchdb commit: updated refs/heads/master to 6286e88
Date Fri, 07 Aug 2015 10:42:48 GMT
Repository: couchdb
Updated Branches:
  refs/heads/master cfcb0c034 -> 6286e880e


Ensure couch_httpd_csrf section doesn't clash with any option


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

Branch: refs/heads/master
Commit: 6286e880ef7a4c336cbe0e5b4b7a9f560c4ae7af
Parents: cfcb0c0
Author: Alexander Shorin <kxepal@apache.org>
Authored: Fri Aug 7 13:42:18 2015 +0300
Committer: Alexander Shorin <kxepal@apache.org>
Committed: Fri Aug 7 13:42:18 2015 +0300

----------------------------------------------------------------------
 dev/run | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb/blob/6286e880/dev/run
----------------------------------------------------------------------
diff --git a/dev/run b/dev/run
index ff952e0..db0953c 100755
--- a/dev/run
+++ b/dev/run
@@ -219,7 +219,7 @@ def hack_local_ini(ctx, contents):
     previous_line = "; require_valid_user = false\n"
     contents = contents.replace(previous_line, previous_line + secret_line)
 
-    csrf_secret = '[couch_httpd_csrf]\nsecret = %s\n' % COMMON_CSRF_SECRET
+    csrf_secret = '\n\n[couch_httpd_csrf]\nsecret = %s\n' % COMMON_CSRF_SECRET
 
     if ctx['with_admin_party']:
         ctx['admin'] = ('Admin Party!', 'You do not need any password.')


Mime
View raw message