[
https://issues.apache.org/jira/browse/TRINIDAD-1233?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12794497#action_12794497
]
Scott O'Bryan commented on TRINIDAD-1233:
-----------------------------------------
Actually, that's all it does in the servlet case, but the contract for jsf
states that it prepares a resource url and I assure you in a portlet
environment, this is much more important. Encoding needs to be done for
portals in all cases.
We talked about adding an optimization to Trinidad a while ago that, when
running as a servlet, uses the configurator to overrides the encodeResourceUrl
to return the base URL without doing any encoding. The reason we didn't do
this was that such a change would bring Trinidad off spec.
Truthfully, Oracle's extensions to Trinidad carry this very configurator and it
works fine. I would be okay if be ported that over to Trinidad instead. In
lieu of that, this patch looks fine to me and will cause the least impact.
> URLs in generated CSS might include ;jessionid=xxxx
> ---------------------------------------------------
>
> Key: TRINIDAD-1233
> URL: https://issues.apache.org/jira/browse/TRINIDAD-1233
> Project: MyFaces Trinidad
> Issue Type: Improvement
> Affects Versions: 1.2.9-core
> Environment: Trinidad 1.2.10-SNAPSHOT
> tomcat 6.0.14
> tomcat 5.5
> Reporter: Harald Kuhn
> Attachments: CSSUtils.java.patch
>
>
> Depending on the Servlet-Container URLs in the generated CSS-file may include
> the Session-Id (of the session that initiated the generation).
> i.e.
> background-image:url(/aim/css/skin/airplus/img/dialogclose.gif;jsessionid=8A002E216A7B2BF42735740787DBF102.tomcat)
> This part of the URL should be removed.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.