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

Antonio Sanso commented on SLING-7436:
--------------------------------------

[~cziegeler] AFAIR the problem is not the content content type but the fact the 
file is automatically download.

In 2. is there a contention disposition being set ?

> Wrong content/type in the Default JSON Renderer 
> ------------------------------------------------
>
>                 Key: SLING-7436
>                 URL: https://issues.apache.org/jira/browse/SLING-7436
>             Project: Sling
>          Issue Type: Bug
>          Components: Servlets
>            Reporter: Antonio Sanso
>            Priority: Major
>
> Steps to reproduce:
>  1.Render a page (Renderer enabled) with JSON renderer. E.g:
>  [http://localhost.com/dir/page(selector] value).json
> 2. Now, extend the url with a slash / and a name with any other extensions 
> e.g 
>  [http://localhost.com/dir/page.(value).json/file.html].]
> 3. Observe file.html was automatically downloaded
> Credit: this issue was found by Md. Sabuktagin



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to