[ 
https://issues.apache.org/jira/browse/SLING-13421?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18142947#comment-18142947
 ] 

Carsten Ziegeler commented on SLING-13421:
------------------------------------------

The best is to introduce a new static method and deprecate the constructor 
taking request

> Value of the accept header can be overwritten by request parameter
> ------------------------------------------------------------------
>
>                 Key: SLING-13421
>                 URL: https://issues.apache.org/jira/browse/SLING-13421
>             Project: Sling
>          Issue Type: Task
>          Components: API
>    Affects Versions: API 3.0.2
>            Reporter: Joerg Hoh
>            Assignee: Carsten Ziegeler
>            Priority: Major
>
> The MediaRangeList class, which is used to parse the Accept Header, uses a 
> optional existing request parameter "Accept" to override the value of the 
> accept header.
> This should not be possible.
>  



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to