core icon indicating copy to clipboard operation
core copied to clipboard

.dot files should be mapped as text/html in tomcat's conf/web.xml

Open wezell opened this issue 13 years ago • 4 comments

The issue is this - for older sites that use the .dot extension, when they try to use the timemachine, tomcat serves the static files as text/plain and they does not render in the users browser.

We should update tomcat's server/web.xml and add the mime mapping by default so it will work out of the box for 90% of legacy dotCMS clients.

wezell avatar Dec 04 '12 16:12 wezell

this makes sense.

jtesser avatar Dec 04 '12 17:12 jtesser

in fact that is a problem in the time machine filter. We should detect the extension and respond properly

2012/12/4 Jason Tesser [email protected]

this makes sense.

— Reply to this email directly or view it on GitHubhttps://github.com/dotCMS/dotCMS/issues/1650#issuecomment-11005886.

Jorge Urdaneta dotcms support team

dotjorgeu avatar Dec 04 '12 19:12 dotjorgeu

Good thought Jorge

Will


Will Ezell http://dotcms.com phone: (305) 900-2001 ext. 7010 direct: (978) 294-9429 https://www.google.com/voice/b/0?pli=1#phones skype: wezell1

On Tue, Dec 4, 2012 at 2:17 PM, Jorge Urdaneta [email protected]:

in fact that is a problem in the time machine filter. We should detect the extension and respond properly

2012/12/4 Jason Tesser [email protected]

this makes sense.

— Reply to this email directly or view it on GitHub< https://github.com/dotCMS/dotCMS/issues/1650#issuecomment-11005886>.

Jorge Urdaneta dotcms support team

—

Reply to this email directly or view it on GitHubhttps://github.com/dotCMS/dotCMS/issues/1650#issuecomment-11011026.

dotcmsCodeReview avatar Dec 04 '12 19:12 dotcmsCodeReview

this is done adding the timemachine in another branch

jtesser avatar Jan 10 '13 19:01 jtesser