[jira] Created: (OFBIZ-2672) StyleSheet and script are not wrapped so they aren't encoded, for some reason the encoded urls appear to be causing new sessions to be created.

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] Created: (OFBIZ-2672) StyleSheet and script are not wrapped so they aren't encoded, for some reason the encoded urls appear to be causing new sessions to be created.

Nicolas Malin (Jira)
 StyleSheet and script are not wrapped  so  they aren't encoded, for some reason the encoded urls appear to be causing new sessions to be created.
--------------------------------------------------------------------------------------------------------------------------------------------------

                 Key: OFBIZ-2672
                 URL: https://issues.apache.org/jira/browse/OFBIZ-2672
             Project: OFBiz
          Issue Type: Improvement
          Components: specialpurpose/ecommerce
    Affects Versions: SVN trunk
            Reporter: Arun Patidar
            Priority: Minor
             Fix For: SVN trunk


StyleSheet and script are not wrapped  so  they aren't encoded, for some reason the encoded urls appear to be causing new sessions to be created.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (OFBIZ-2672) StyleSheet and script are not wrapped so they aren't encoded, for some reason the encoded urls appear to be causing new sessions to be created.

Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-2672?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Arun Patidar updated OFBIZ-2672:
--------------------------------

    Attachment: OFBIZ_2672.patch

The styleSheet and script context variables were being url encoded as freemarker was rendering them, and when the browser fetched the resources at those urls for some reason it was unable to find the existing session cookie causing a new session to be created.

Here is the patch for this, Thanks to Pranay for reviewing the patch.

>  StyleSheet and script are not wrapped  so  they aren't encoded, for some reason the encoded urls appear to be causing new sessions to be created.
> --------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-2672
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2672
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: specialpurpose/ecommerce
>    Affects Versions: SVN trunk
>            Reporter: Arun Patidar
>            Priority: Minor
>             Fix For: SVN trunk
>
>         Attachments: OFBIZ_2672.patch
>
>
> StyleSheet and script are not wrapped  so  they aren't encoded, for some reason the encoded urls appear to be causing new sessions to be created.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Assigned: (OFBIZ-2672) StyleSheet and script are not wrapped so they aren't encoded, for some reason the encoded urls appear to be causing new sessions to be created.

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-2672?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vikas Mayur reassigned OFBIZ-2672:
----------------------------------

    Assignee: Vikas Mayur

>  StyleSheet and script are not wrapped  so  they aren't encoded, for some reason the encoded urls appear to be causing new sessions to be created.
> --------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-2672
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2672
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: specialpurpose/ecommerce
>    Affects Versions: SVN trunk
>            Reporter: Arun Patidar
>            Assignee: Vikas Mayur
>            Priority: Minor
>             Fix For: SVN trunk
>
>         Attachments: OFBIZ_2672.patch
>
>
> StyleSheet and script are not wrapped  so  they aren't encoded, for some reason the encoded urls appear to be causing new sessions to be created.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (OFBIZ-2672) StyleSheet and script are not wrapped so they aren't encoded, for some reason the encoded urls appear to be causing new sessions to be created.

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-2672?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vikas Mayur updated OFBIZ-2672:
-------------------------------

    Affects Version/s: Release Branch 9.04
        Fix Version/s: Release Branch 9.04
           Issue Type: Bug  (was: Improvement)

>  StyleSheet and script are not wrapped  so  they aren't encoded, for some reason the encoded urls appear to be causing new sessions to be created.
> --------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-2672
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2672
>             Project: OFBiz
>          Issue Type: Bug
>          Components: specialpurpose/ecommerce
>    Affects Versions: Release Branch 9.04, SVN trunk
>            Reporter: Arun Patidar
>            Assignee: Vikas Mayur
>            Priority: Minor
>             Fix For: Release Branch 9.04, SVN trunk
>
>         Attachments: OFBIZ_2672.patch
>
>
> StyleSheet and script are not wrapped  so  they aren't encoded, for some reason the encoded urls appear to be causing new sessions to be created.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Closed: (OFBIZ-2672) StyleSheet and script are not wrapped so they aren't encoded, for some reason the encoded urls appear to be causing new sessions to be created.

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-2672?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vikas Mayur closed OFBIZ-2672.
------------------------------

    Resolution: Fixed

Thanks Arun, Pranay,

Your patch is in trunk rev. 790101 and as well as in release09.04 rev. 790104 (Manually merged though)

Vikas

>  StyleSheet and script are not wrapped  so  they aren't encoded, for some reason the encoded urls appear to be causing new sessions to be created.
> --------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-2672
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2672
>             Project: OFBiz
>          Issue Type: Bug
>          Components: specialpurpose/ecommerce
>    Affects Versions: Release Branch 9.04, SVN trunk
>            Reporter: Arun Patidar
>            Assignee: Vikas Mayur
>            Priority: Minor
>             Fix For: Release Branch 9.04, SVN trunk
>
>         Attachments: OFBIZ_2672.patch
>
>
> StyleSheet and script are not wrapped  so  they aren't encoded, for some reason the encoded urls appear to be causing new sessions to be created.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.