PDA

View Full Version : GetImage does not set content type for css generated content



cts_dunca
07-19-2007, 05:44 AM
Hi

I discovered a problem in 1.5.x pre-release versions:
GetImage servlet does not set up at all the content type(to text/css) when and if dynamically generating and returning a css content.

This has no implication if tomcat is used as http server - but if apache is used instead then content type is taken as apache's default text/html. In this context, Firefox does not correctly treat the css and the report page does not apply the supposed style sheet.

Best Regards
Sergiu