aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/gv/egiz/pdfas
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/at/gv/egiz/pdfas')
-rw-r--r--src/main/java/at/gv/egiz/pdfas/impl/signator/binary/BinarySignator_1_0_0.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/main/java/at/gv/egiz/pdfas/impl/signator/binary/BinarySignator_1_0_0.java b/src/main/java/at/gv/egiz/pdfas/impl/signator/binary/BinarySignator_1_0_0.java
index bdb5fdb..e1257dc 100644
--- a/src/main/java/at/gv/egiz/pdfas/impl/signator/binary/BinarySignator_1_0_0.java
+++ b/src/main/java/at/gv/egiz/pdfas/impl/signator/binary/BinarySignator_1_0_0.java
@@ -17,7 +17,6 @@
*/
package at.gv.egiz.pdfas.impl.signator.binary;
-import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
@@ -42,7 +41,6 @@ import at.gv.egiz.pdfas.framework.signator.SignatorInformation;
import at.gv.egiz.pdfas.impl.input.CompoundPdfDataSourceImpl;
import at.gv.egiz.pdfas.impl.signator.IncrementalUpdateHelper;
import at.gv.egiz.pdfas.utils.OgnlUtil;
-import at.gv.egiz.pdfas.utils.PDFASUtils;
import at.knowcenter.wag.egov.egiz.PdfAS;
import at.knowcenter.wag.egov.egiz.PdfASID;
import at.knowcenter.wag.egov.egiz.cfg.SettingsReader;
@@ -87,6 +85,7 @@ import com.lowagie.text.pdf.PdfPTable;
*/
public class BinarySignator_1_0_0 implements Signator
{
+// 04.11.2010 changed by exthex - fillReplacesWithValue no longer removes multiple newlines from values
private static Log log = LogFactory.getLog(BinarySignator_1_0_0.class);
@@ -338,7 +337,7 @@ public class BinarySignator_1_0_0 implements Signator
// evaluate expression
String res = ognl.compileMessage(ri.sfd.value);
- ri.value = this.normalizer.normalize(res);
+ ri.value = this.normalizer.normalize(res, true);
} else {
ri.value = iui.signed_signature_object.retrieveStringValue(ri.sfd.field_name);