Hi list,

attached is the small patch which prevents double escaping (makeUrl() already does that) of the URL as well as double outputing to the browser (somewhy there were two identical calls).

Btw, Henner, thanks for applying my previous patches.

regards,
Dziugas Baltrunas
Index: DbLinkURLTag.java
===================================================================
RCS file: /cvsroot/jdbforms/dbforms/src/org/dbforms/taglib/DbLinkURLTag.java,v
retrieving revision 1.24
diff -u -r1.24 DbLinkURLTag.java
--- DbLinkURLTag.java   2 Aug 2004 07:32:00 -0000       1.24
+++ DbLinkURLTag.java   9 Aug 2004 08:19:29 -0000
@@ -260,11 +260,8 @@
     {
                HttpServletResponse response =
                   (HttpServletResponse) pageContext.getResponse();
-
-                              String s = makeUrl();
-                         s = response.encodeURL(s);
-                         pageContext.getOut().write(s);
-      pageContext.getOut().write(s);
+               String s = makeUrl();
+           pageContext.getOut().write(s);
     }
 
       catch (java.io.IOException ioe)

Reply via email to