cziegeler 2002/07/01 01:40:07
Modified: src/scratchpad/src/org/apache/cocoon/sunshine/sunrise Tag:
cocoon_2_0_3_branch SunRise.java
src/scratchpad/src/org/apache/cocoon/sunshine/sunspot Tag:
cocoon_2_0_3_branch SunSpot.java
Log:
Fixing redirect bug during authentication, reported by Simeon Walker
[[EMAIL PROTECTED]]
Revision Changes Path
No revision
No revision
1.5.2.2 +2 -2
xml-cocoon2/src/scratchpad/src/org/apache/cocoon/sunshine/sunrise/Attic/SunRise.java
Index: SunRise.java
===================================================================
RCS file:
/home/cvs/xml-cocoon2/src/scratchpad/src/org/apache/cocoon/sunshine/sunrise/Attic/SunRise.java,v
retrieving revision 1.5.2.1
retrieving revision 1.5.2.2
diff -u -r1.5.2.1 -r1.5.2.2
--- SunRise.java 7 Jun 2002 09:34:25 -0000 1.5.2.1
+++ SunRise.java 1 Jul 2002 08:40:06 -0000 1.5.2.2
@@ -776,7 +776,7 @@
parameters.setSingleParameterValue("resource", resource);
final String redirectURI = handler.getRedirectURI();
- redirector.redirect(false, SourceUtil.appendParameters(redirectURI,
parameters));
+ redirector.globalRedirect(false,
SourceUtil.appendParameters(redirectURI, parameters));
} else {
if (loadingResource == true) {
// load application data if we are not inside a resource
loading of sunrise
No revision
No revision
1.5.2.2 +2 -2
xml-cocoon2/src/scratchpad/src/org/apache/cocoon/sunshine/sunspot/Attic/SunSpot.java
Index: SunSpot.java
===================================================================
RCS file:
/home/cvs/xml-cocoon2/src/scratchpad/src/org/apache/cocoon/sunshine/sunspot/Attic/SunSpot.java,v
retrieving revision 1.5.2.1
retrieving revision 1.5.2.2
diff -u -r1.5.2.1 -r1.5.2.2
--- SunSpot.java 7 Jun 2002 09:34:25 -0000 1.5.2.1
+++ SunSpot.java 1 Jul 2002 08:40:06 -0000 1.5.2.2
@@ -3238,7 +3238,7 @@
redirectURI = (String)config.get(Constants.CONF_PORTAL_URI);
}
if (redirectURI != null) {
- redirector.redirect( false, redirectURI );
+ redirector.globalRedirect( false, redirectURI );
}
}
}
----------------------------------------------------------------------
In case of troubles, e-mail: [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]