Tags:
create new tag
, view all tags

Question

How do I get HTML attachments to display properly with firefox? When I attach foo.htm and create an automatic link IE will open the file as an html file, however firefox opens it as a text file. If I attach the file as just foo (with out the htm suffix) firefox and IE both handle it properly. However creating html versions of files from Office without a suffix has proven difficult (at least for a linux weenie like me:))

Environment

TWiki version: TWikiRelease04x00x05
TWiki plugins: SpreadSheetPlugin, CommentPlugin, EditTablePlugin, InterwikiPlugin, PreferencesPlugin, SlideShowPlugin, SmiliesPlugin, TablePlugin, WysiwygPlugin
Server OS: Slackware 9.0.0
Web server: Apache 1.3.29
Perl version: v5.8.0
Client OS: Windows XP SP2, linux
Web Browser: Firefox
Categories: Missing functionality, Browser Issue

-- GordUrquhart - 05 Feb 2007

Answer

ALERT! If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list below the edit box.

To try and protect the innocent TWiki is configured by default to rename .htm and .html attachments by appending .txt to the filename. You can change this behaviour in configure. Look for Security Settings -> Miscellaneous -> {UploadFilter}. If a filename matches this regular expression it gets .txt appended.

-- CrawfordCurrie - 21 Feb 2007

 
Change status to:
Topic revision: r2 - 2007-02-21 - CrawfordCurrie
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.