[gatein-issues] [JBoss JIRA] (GTNPORTAL-3560) Cache-control on the UI encodes too much
Juraci Paixão Kröhling (JIRA)
issues at jboss.org
Wed Nov 12 07:23:29 EST 2014
[ https://issues.jboss.org/browse/GTNPORTAL-3560?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Juraci Paixão Kröhling updated GTNPORTAL-3560:
----------------------------------------------
Status: Pull Request Sent (was: Open)
Git Pull Request: https://github.com/gatein/gatein-portal/pull/917
> Cache-control on the UI encodes too much
> ----------------------------------------
>
> Key: GTNPORTAL-3560
> URL: https://issues.jboss.org/browse/GTNPORTAL-3560
> Project: GateIn Portal
> Issue Type: Feature Request
> Reporter: Juraci Paixão Kröhling
> Assignee: Juraci Paixão Kröhling
>
> The cache-control directive, when specified on the UI, gets too much encoding when being set as a header. This means that it's not useful at the current state when more than one parameter for the cache-control is set:
> For instance, the string "no-cache, max-age=0, must-revalidate, no-store" becomes this header:
> {code}Cache-Control:no-cache%2C+max-age%3D0%2C+must-revalidate%2C+no-store{code}
> The input should be sanitized only for new lines, to avoid a "HTTP Response Splitting" attack.
--
This message was sent by Atlassian JIRA
(v6.3.8#6338)
More information about the gatein-issues
mailing list