You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by kx...@apache.org on 2015/09/28 16:49:34 UTC

[05/39] couchdb commit: updated refs/heads/developer-preview-2.0 to 3ac3db6

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/developer-preview-2.0
Commit: 6286e880ef7a4c336cbe0e5b4b7a9f560c4ae7af
Parents: cfcb0c0
Author: Alexander Shorin <kx...@apache.org>
Authored: Fri Aug 7 13:42:18 2015 +0300
Committer: Alexander Shorin <kx...@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.')