From a50c4afdde37845b94b3545029ed9aac5796fdf7 Mon Sep 17 00:00:00 2001 From: James Moger Date: Mon, 19 Dec 2011 09:15:08 -0500 Subject: [PATCH] More sendemail.groovy fixes --- groovy/sendemail.groovy | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/groovy/sendemail.groovy b/groovy/sendemail.groovy index 6792d94d..69e2b93d 100644 --- a/groovy/sendemail.groovy +++ b/groovy/sendemail.groovy @@ -77,7 +77,7 @@ def emailprefix = config.getString('hooks', null, 'emailprefix') // set default values def toAddresses = [] if (emailprefix == null) -emailprefix = '"[Gitblit]' +emailprefix = '[Gitblit]' if (mailinglist != null) { def addrs = mailinglist.split('(,|\\s)') @@ -99,7 +99,7 @@ switch(repository.name) { } // define the summary and commit urls -def repo = + repository.name.replace('/', gitblit.getString(Keys.web.forwardSlashCharacter, '/')) +def repo = repository.name.replace('/', gitblit.getString(Keys.web.forwardSlashCharacter, '/')) def summaryUrl def commitUrl if (gitblit.getBoolean(Keys.web.mountParameters, true)) { -- 2.39.5