• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

Item4659: Change the strategy of protecting again html attach spam to not harm Wysiwyg editor

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Engine   Normal Closed   minor 4.2.0

Edit Form Data

Summary:
Reported By:
Codebase:
Applies To:
Component:
Priority:
Current State:
Waiting For:
Target Release:
Released In:
 

Detail

Today we have this line in the recommended apache confing for TWiki
AddType text/plain .html .htm .shtml .php .php3 .phtml .phtm .pl .py .cgi

This causes trouble sometimes for the TinyMCE editor. So instead we remove the .html and .htm lines like this

AddType text/plain .shtml .php .php3 .phtml .phtm .pl .py .cgi

And add - commented out

# Block access to typical spam related attachments (.htm and .html files)
# Except the TWiki directory which is read only and does have attached html files.
# You should uncomment the two lines below if the TWiki is on the public Internet
#SetEnvIf Request_URI "twiki/pub/.*\.[hH][tT][mM]?$" blockAccess
#SetEnvIf Request_URI "twiki/pub/TWiki/.*\.[hH][tT][mM]?$" !blockAccess

which is a well proven method which has been in the TWiki:TWiki.ApacheConfigGenerator for a long time.

-- TWiki:Main/KennethLavrsen - 18 Sep 2007

ItemTemplate
Summary Change the strategy of protecting again html attach spam to not harm Wysiwyg editor
ReportedBy TWiki:Main.KennethLavrsen
Codebase

SVN Range TWiki-4.2.0, Tue, 18 Sep 2007, build 14928
AppliesTo Engine
Component

Priority Normal
CurrentState Closed
WaitingFor

Checkins TWikirev:14931 TWikirev:14932 TWikirev:14933
TargetRelease minor
ReleasedIn 4.2.0
Edit | Attach | Watch | Print version | History: r8 < r7 < r6 < r5 < r4 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r8 - 2008-01-22 - KennethLavrsen
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback