This is an automated email from the git hooks/post-receive script. New commit to branch develop in repository faxtomail. See https://gitlab.nuiton.org/codelutin/faxtomail.git commit f72c5cbb7d30c54d769682262796e9a4066f4700 Author: Kevin Morin <morin@codelutin.com> Date: Tue Jan 3 17:20:39 2017 +0100 ajout du quote ou double quote en fonction de ce qui est dans le mail d'origine (refs #8912) --- .../com/franciaflex/faxtomail/services/FaxToMailServiceUtils.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/faxtomail-service/src/main/java/com/franciaflex/faxtomail/services/FaxToMailServiceUtils.java b/faxtomail-service/src/main/java/com/franciaflex/faxtomail/services/FaxToMailServiceUtils.java index 1c035ba..636e576 100644 --- a/faxtomail-service/src/main/java/com/franciaflex/faxtomail/services/FaxToMailServiceUtils.java +++ b/faxtomail-service/src/main/java/com/franciaflex/faxtomail/services/FaxToMailServiceUtils.java @@ -64,7 +64,7 @@ public class FaxToMailServiceUtils { public static String addFaxDomainToFaxNumber(String faxNumber, MailFolder folder) { while (!folder.isUseCurrentLevelFaxDomain() - && folder.getParent() != null) { + && folder.getParent() != null) { folder = folder.getParent(); } int endIndex = faxNumber.indexOf('@'); @@ -90,8 +90,8 @@ public class FaxToMailServiceUtils { /** * Return true if given collection is not null and contains requested value. - * - * @param coll collection + * + * @param coll collection * @param value value * @return true if set contains value */ @@ -151,7 +151,7 @@ public class FaxToMailServiceUtils { correctImgUrl = ge.isHeadlessInstance() ? "" : defaultImage; } - imgSrcMatcher.appendReplacement(emailContentBuffer, "src='" + correctImgUrl + "'"); + imgSrcMatcher.appendReplacement(emailContentBuffer, "src=" + imgSrcMatcher.group(1) + correctImgUrl + imgSrcMatcher.group(3)); } imgSrcMatcher.appendTail(emailContentBuffer); return emailContentBuffer.toString(); -- To stop receiving notification emails like this one, please contact codelutin.com SCM administrator <admin+scm@codelutin.com>.