P.Wiaderny (talk | contribs) |
|||
(3 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | Sometimes when you | + | {{#CUSTOMTITLE:Declaring HTML Extensions}} |
+ | Sometimes when you are uploading a file it may contain HTML code in the first kilobytes of its data. CKFinder will upload the file with the HTML code only when the file extension is added to the following configuration setting: | ||
+ | {{{code}}} | ||
+ | |||
+ | If you, for example, want to upload an <code>.xsl</code> file that contains HTML code at the beginning of the file, you should add this file extension to the list. | ||
+ | {{{code2}}} | ||
+ | |||
+ | |||
+ | Please note that this feature performs only a very basic set of checks to detect HTML-like data in the first 1kB of the file contents to protect users e.g. against unintentional uploading of files with HTML content and with a wrong extension. <br> |
Latest revision as of 11:39, 21 August 2019
Sometimes when you are uploading a file it may contain HTML code in the first kilobytes of its data. CKFinder will upload the file with the HTML code only when the file extension is added to the following configuration setting: {{{code}}}
If you, for example, want to upload an .xsl
file that contains HTML code at the beginning of the file, you should add this file extension to the list.
{{{code2}}}
Please note that this feature performs only a very basic set of checks to detect HTML-like data in the first 1kB of the file contents to protect users e.g. against unintentional uploading of files with HTML content and with a wrong extension.