A couple of old Plone plugins: CAS4PAS and ACASUserFolder come to mind, 
specifically with Plone 2.x and some deployments of 3.x (depending on sysadmin 
skill).

The fix was easy: the modules were looking for XML on the first line; modifying 
to strip leading whitespace/empty lines solved the issue.

The effective difference between the two versions is the license at the top. 
The application server (Tomcat 6 here) converts that to approx. 20 empty lines 
in the validation response prior to the start of the XML.

The change sort of caught us by surprise (we tested as many clients as possible 
prior to rollout); not necessarily a bad thing, as it forced some to update 
their systems.

Tom.


On Aug 11, 2013, at 11:28 PM, Jérôme LELEU <[email protected]> wrote:
> Hi,
> 
> What older CAS clients are you referring to ?
> Because you're right, there is a difference in the JSP pages between 3.4.x 
> [1] and 3.5.x [2].
> Thanks.
> Best regards,
> Jérôme
> 
> [1] : 
> https://github.com/Jasig/cas/blob/3.4.x/cas-server-webapp/src/main/webapp/WEB-INF/view/jsp/protocol/2.0/casServiceValidationSuccess.jsp
> [2] : 
> https://github.com/Jasig/cas/blob/3.5.x/cas-server-webapp/src/main/webapp/WEB-INF/view/jsp/protocol/2.0/casServiceValidationSuccess.jsp
> 
> 
> 
> 2013/8/9 Tom Poage <[email protected]>
> Recent upgrade (to 3.5.2) broke some of our older CAS clients. Turns out e.g. 
> the service validation XML has a bunch of empty lines at the top (left from 
> processing copyright comments at the top of its JSP page).
> 
> Anyone use
> 
>     <%@ page trimDirectiveWhitespaces="true" %>
> 
> or equivalent in production? Why would this (or not) be a good idea?
> 
> Default for 4.0?
> 
> Thanks.
> Tom.
> --
> You are currently subscribed to [email protected] as: [email protected]
> To unsubscribe, change settings or access archives, see 
> http://www.ja-sig.org/wiki/display/JSG/cas-user
> 
> 
> -- 
> You are currently subscribed to [email protected] as: 
> [email protected]
> To unsubscribe, change settings or access archives, see 
> http://www.ja-sig.org/wiki/display/JSG/cas-user


-- 
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

Reply via email to