Author: niallp
Date: Wed Mar  8 07:17:37 2006
New Revision: 384234

URL: http://svn.apache.org/viewcvs?rev=384234&view=rev
Log:
Fix for Bug 37817 - TagUtils doesn't create XHTML compliant URLs using forwards 
defined with redirect="true" - thanks to Jason A. Lunn

Modified:
    struts/taglib/trunk/src/java/org/apache/struts/taglib/TagUtils.java

Modified: struts/taglib/trunk/src/java/org/apache/struts/taglib/TagUtils.java
URL: 
http://svn.apache.org/viewcvs/struts/taglib/trunk/src/java/org/apache/struts/taglib/TagUtils.java?rev=384234&r1=384233&r2=384234&view=diff
==============================================================================
--- struts/taglib/trunk/src/java/org/apache/struts/taglib/TagUtils.java 
(original)
+++ struts/taglib/trunk/src/java/org/apache/struts/taglib/TagUtils.java Wed Mar 
 8 07:17:37 2006
@@ -1,7 +1,7 @@
 /*
  * $Id$
  *
- * Copyright 1999-2004 The Apache Software Foundation.
+ * Copyright 1999-2006 The Apache Software Foundation.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -362,9 +362,10 @@
                         "computeURL.forward", forward));
             }
 
-            if (forwardConfig.getRedirect()) {
-                redirect = true;
-            }
+            // **** removed - see bug 37817 ****
+            //  if (forwardConfig.getRedirect()) {
+            //      redirect = true;
+            //  }
 
             if (forwardConfig.getPath().startsWith("/")) {
                 url.append(request.getContextPath());



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to