[
https://issues.apache.org/jira/browse/SLING-7436?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Antonio Sanso updated SLING-7436:
---------------------------------
Description:
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
was:
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
> 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)