You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Mario Siegenthaler (JIRA)" <de...@tapestry.apache.org> on 2008/07/16 14:33:31 UTC

[jira] Created: (TAPESTRY-2522) RequestPathOptimizer destroys client-state

RequestPathOptimizer destroys client-state
------------------------------------------

                 Key: TAPESTRY-2522
                 URL: https://issues.apache.org/jira/browse/TAPESTRY-2522
             Project: Tapestry
          Issue Type: Bug
    Affects Versions: 5.0.13
            Reporter: Mario Siegenthaler
         Attachments: optimize-bug-testcase.patch

The RequestPathOptimizer removes repetitions of the slash-character from the url, including the parameters and therefore the client-state. If the base64-encoded client state contains data that encodes i.e. to 'Hasc//asc==' the optimizer changes the url from
  /context/start?t:state:client=Hasc//asc==
to
  /context/start?t:state:client=Hasc/asc==
which leads to deserialization errors.


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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


[jira] Updated: (TAPESTRY-2522) RequestPathOptimizer destroys client-state

Posted by "Mario Siegenthaler (JIRA)" <de...@tapestry.apache.org>.
     [ https://issues.apache.org/jira/browse/TAPESTRY-2522?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mario Siegenthaler updated TAPESTRY-2522:
-----------------------------------------

    Attachment:     (was: optimize-bug-testcase.patch)

> RequestPathOptimizer destroys client-state
> ------------------------------------------
>
>                 Key: TAPESTRY-2522
>                 URL: https://issues.apache.org/jira/browse/TAPESTRY-2522
>             Project: Tapestry
>          Issue Type: Bug
>    Affects Versions: 5.0.13
>            Reporter: Mario Siegenthaler
>         Attachments: optimize-bug-testcase.patch
>
>   Original Estimate: 0.25h
>  Remaining Estimate: 0.25h
>
> The RequestPathOptimizer removes repetitions of the slash-character from the url, including the parameters and therefore the client-state. If the base64-encoded client state contains data that encodes i.e. to 'Hasc//asc==' the optimizer changes the url from
>   /context/start?t:state:client=Hasc//asc==
> to
>   /context/start?t:state:client=Hasc/asc==
> which leads to deserialization errors.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


[jira] Updated: (TAPESTRY-2522) RequestPathOptimizer destroys client-state

Posted by "Mario Siegenthaler (JIRA)" <de...@tapestry.apache.org>.
     [ https://issues.apache.org/jira/browse/TAPESTRY-2522?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mario Siegenthaler updated TAPESTRY-2522:
-----------------------------------------

    Attachment: optimize-bug-testcase.patch

Fixed the context-path in the testcase

> RequestPathOptimizer destroys client-state
> ------------------------------------------
>
>                 Key: TAPESTRY-2522
>                 URL: https://issues.apache.org/jira/browse/TAPESTRY-2522
>             Project: Tapestry
>          Issue Type: Bug
>    Affects Versions: 5.0.13
>            Reporter: Mario Siegenthaler
>         Attachments: optimize-bug-testcase.patch
>
>   Original Estimate: 0.25h
>  Remaining Estimate: 0.25h
>
> The RequestPathOptimizer removes repetitions of the slash-character from the url, including the parameters and therefore the client-state. If the base64-encoded client state contains data that encodes i.e. to 'Hasc//asc==' the optimizer changes the url from
>   /context/start?t:state:client=Hasc//asc==
> to
>   /context/start?t:state:client=Hasc/asc==
> which leads to deserialization errors.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


[jira] Updated: (TAPESTRY-2522) RequestPathOptimizer destroys client-state

Posted by "Mario Siegenthaler (JIRA)" <de...@tapestry.apache.org>.
     [ https://issues.apache.org/jira/browse/TAPESTRY-2522?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mario Siegenthaler updated TAPESTRY-2522:
-----------------------------------------

    Attachment: optimize-bug-fix.patch

Proposed fix for this issue.

> RequestPathOptimizer destroys client-state
> ------------------------------------------
>
>                 Key: TAPESTRY-2522
>                 URL: https://issues.apache.org/jira/browse/TAPESTRY-2522
>             Project: Tapestry
>          Issue Type: Bug
>    Affects Versions: 5.0.13
>            Reporter: Mario Siegenthaler
>         Attachments: optimize-bug-fix.patch, optimize-bug-testcase.patch
>
>   Original Estimate: 0.25h
>  Remaining Estimate: 0.25h
>
> The RequestPathOptimizer removes repetitions of the slash-character from the url, including the parameters and therefore the client-state. If the base64-encoded client state contains data that encodes i.e. to 'Hasc//asc==' the optimizer changes the url from
>   /context/start?t:state:client=Hasc//asc==
> to
>   /context/start?t:state:client=Hasc/asc==
> which leads to deserialization errors.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


[jira] Updated: (TAPESTRY-2522) RequestPathOptimizer will corrupt query parameters in the optimized URL if the parameters container slashes

Posted by "Howard M. Lewis Ship (JIRA)" <de...@tapestry.apache.org>.
     [ https://issues.apache.org/jira/browse/TAPESTRY-2522?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Howard M. Lewis Ship updated TAPESTRY-2522:
-------------------------------------------

    Summary: RequestPathOptimizer will corrupt query parameters in the optimized URL if the parameters container slashes  (was: RequestPathOptimizer destroys client-state)

> RequestPathOptimizer will corrupt query parameters in the optimized URL if the parameters container slashes
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: TAPESTRY-2522
>                 URL: https://issues.apache.org/jira/browse/TAPESTRY-2522
>             Project: Tapestry
>          Issue Type: Bug
>    Affects Versions: 5.0.13
>            Reporter: Mario Siegenthaler
>            Assignee: Howard M. Lewis Ship
>         Attachments: optimize-bug-fix.patch, optimize-bug-testcase.patch
>
>   Original Estimate: 0.25h
>  Remaining Estimate: 0.25h
>
> The RequestPathOptimizer removes repetitions of the slash-character from the url, including the parameters and therefore the client-state. If the base64-encoded client state contains data that encodes i.e. to 'Hasc//asc==' the optimizer changes the url from
>   /context/start?t:state:client=Hasc//asc==
> to
>   /context/start?t:state:client=Hasc/asc==
> which leads to deserialization errors.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


[jira] Assigned: (TAPESTRY-2522) RequestPathOptimizer destroys client-state

Posted by "Howard M. Lewis Ship (JIRA)" <de...@tapestry.apache.org>.
     [ https://issues.apache.org/jira/browse/TAPESTRY-2522?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Howard M. Lewis Ship reassigned TAPESTRY-2522:
----------------------------------------------

    Assignee: Howard M. Lewis Ship

> RequestPathOptimizer destroys client-state
> ------------------------------------------
>
>                 Key: TAPESTRY-2522
>                 URL: https://issues.apache.org/jira/browse/TAPESTRY-2522
>             Project: Tapestry
>          Issue Type: Bug
>    Affects Versions: 5.0.13
>            Reporter: Mario Siegenthaler
>            Assignee: Howard M. Lewis Ship
>         Attachments: optimize-bug-fix.patch, optimize-bug-testcase.patch
>
>   Original Estimate: 0.25h
>  Remaining Estimate: 0.25h
>
> The RequestPathOptimizer removes repetitions of the slash-character from the url, including the parameters and therefore the client-state. If the base64-encoded client state contains data that encodes i.e. to 'Hasc//asc==' the optimizer changes the url from
>   /context/start?t:state:client=Hasc//asc==
> to
>   /context/start?t:state:client=Hasc/asc==
> which leads to deserialization errors.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


[jira] Updated: (TAPESTRY-2522) RequestPathOptimizer destroys client-state

Posted by "Mario Siegenthaler (JIRA)" <de...@tapestry.apache.org>.
     [ https://issues.apache.org/jira/browse/TAPESTRY-2522?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mario Siegenthaler updated TAPESTRY-2522:
-----------------------------------------

    Attachment: optimize-bug-testcase.patch

Extension to the RequestPathOptimizerImplTest showing the problem.

> RequestPathOptimizer destroys client-state
> ------------------------------------------
>
>                 Key: TAPESTRY-2522
>                 URL: https://issues.apache.org/jira/browse/TAPESTRY-2522
>             Project: Tapestry
>          Issue Type: Bug
>    Affects Versions: 5.0.13
>            Reporter: Mario Siegenthaler
>         Attachments: optimize-bug-testcase.patch
>
>   Original Estimate: 0.25h
>  Remaining Estimate: 0.25h
>
> The RequestPathOptimizer removes repetitions of the slash-character from the url, including the parameters and therefore the client-state. If the base64-encoded client state contains data that encodes i.e. to 'Hasc//asc==' the optimizer changes the url from
>   /context/start?t:state:client=Hasc//asc==
> to
>   /context/start?t:state:client=Hasc/asc==
> which leads to deserialization errors.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


[jira] Closed: (TAPESTRY-2522) RequestPathOptimizer will corrupt query parameters in the optimized URL if the parameters container slashes

Posted by "Howard M. Lewis Ship (JIRA)" <de...@tapestry.apache.org>.
     [ https://issues.apache.org/jira/browse/TAPESTRY-2522?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Howard M. Lewis Ship closed TAPESTRY-2522.
------------------------------------------

       Resolution: Fixed
    Fix Version/s: 5.0.14

> RequestPathOptimizer will corrupt query parameters in the optimized URL if the parameters container slashes
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: TAPESTRY-2522
>                 URL: https://issues.apache.org/jira/browse/TAPESTRY-2522
>             Project: Tapestry
>          Issue Type: Bug
>    Affects Versions: 5.0.13
>            Reporter: Mario Siegenthaler
>            Assignee: Howard M. Lewis Ship
>             Fix For: 5.0.14
>
>         Attachments: optimize-bug-fix.patch, optimize-bug-testcase.patch
>
>   Original Estimate: 0.25h
>  Remaining Estimate: 0.25h
>
> The RequestPathOptimizer removes repetitions of the slash-character from the url, including the parameters and therefore the client-state. If the base64-encoded client state contains data that encodes i.e. to 'Hasc//asc==' the optimizer changes the url from
>   /context/start?t:state:client=Hasc//asc==
> to
>   /context/start?t:state:client=Hasc/asc==
> which leads to deserialization errors.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org