From d40150d9b877328f84d8a88e49a7c4ec99c778f0 Mon Sep 17 00:00:00 2001 From: jacky6024 Date: Fri, 8 Dec 2017 10:46:04 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AF=B9=E4=BA=8EHTML=E9=A2=84=E8=A7=88?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E5=B7=A5=E5=85=B7=E6=A0=8F=E4=B8=8A=E7=9A=84?= =?UTF-8?q?=E5=AF=BC=E5=87=BA=E6=8C=89=E9=92=AE=E5=9C=A8=E5=AF=BC=E5=87=BA?= =?UTF-8?q?=E6=8A=A5=E8=A1=A8=E6=96=87=E4=BB=B6=E6=97=B6=E5=8F=AF=E9=80=9A?= =?UTF-8?q?=E8=BF=87=E5=9C=A8HTML=E9=A2=84=E8=A7=88=E9=A1=B5=E9=9D=A2URL?= =?UTF-8?q?=E5=90=8E=E5=8A=A0=5Fn=E5=8F=82=E6=95=B0=E5=AE=9A=E4=B9=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ureport2-console/.gitignore | 1 + .../bstek/ureport/console/html/HtmlPreviewServletAction.java | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 ureport2-console/.gitignore diff --git a/ureport2-console/.gitignore b/ureport2-console/.gitignore new file mode 100644 index 0000000..b83d222 --- /dev/null +++ b/ureport2-console/.gitignore @@ -0,0 +1 @@ +/target/ diff --git a/ureport2-console/src/main/java/com/bstek/ureport/console/html/HtmlPreviewServletAction.java b/ureport2-console/src/main/java/com/bstek/ureport/console/html/HtmlPreviewServletAction.java index 6c13606..c777e8f 100644 --- a/ureport2-console/src/main/java/com/bstek/ureport/console/html/HtmlPreviewServletAction.java +++ b/ureport2-console/src/main/java/com/bstek/ureport/console/html/HtmlPreviewServletAction.java @@ -312,7 +312,7 @@ public class HtmlPreviewServletAction extends RenderPageServletAction { } String name=obj.toString(); String value=req.getParameter(name); - if(name==null || value==null || name.startsWith("_")){ + if(name==null || value==null || (name.startsWith("_") && !name.equals("_n"))){ continue; } if(sb.length()>0){