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){