(New page: {{Ckfinder html extension Description|code=<pre>CKFinder_Config.Add "HtmlExtensions", "html,htm,xml,xsd,txt,js"</pre>|code2=<pre>CKFinder_Config.Add "HtmlExtensions", "html,htm,xml,xsd,txt...) |
(No difference)
|
Revision as of 12:02, 3 January 2008
Sometimes when you're uploading a file it may have an html code in the first KB of its data. The CKFinder will upload the file with the html code only when the file extension is written in the following section:CKFinder_Config.Add "HtmlExtensions", "html,htm,xml,xsd,txt,js"So for example: if you want to upload a .xsl file which has a html code in the beginning, you should add its the extension to the list.
CKFinder_Config.Add "HtmlExtensions", "html,htm,xml,xsd,txt,js,xsl"This function secures your server from the attack of the Universal XSS / MIME Type detection.