<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://docs-old.ckeditor.com/index.php?action=history&amp;feed=atom&amp;title=Template%3ACkfinder_2.x_Double_extensions_Description</id>
		<title>Template:Ckfinder 2.x Double extensions Description - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://docs-old.ckeditor.com/index.php?action=history&amp;feed=atom&amp;title=Template%3ACkfinder_2.x_Double_extensions_Description"/>
		<link rel="alternate" type="text/html" href="https://docs-old.ckeditor.com/index.php?title=Template:Ckfinder_2.x_Double_extensions_Description&amp;action=history"/>
		<updated>2026-05-01T12:03:14Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.29.1</generator>

	<entry>
		<id>https://docs-old.ckeditor.com/index.php?title=Template:Ckfinder_2.x_Double_extensions_Description&amp;diff=7230&amp;oldid=prev</id>
		<title>Wiktor at 14:20, 21 December 2012</title>
		<link rel="alternate" type="text/html" href="https://docs-old.ckeditor.com/index.php?title=Template:Ckfinder_2.x_Double_extensions_Description&amp;diff=7230&amp;oldid=prev"/>
				<updated>2012-12-21T14:20:50Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;' lang='en'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 14:20, 21 December 2012&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l7&quot; &gt;Line 7:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 7:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;If &amp;lt;code&amp;gt;php&amp;lt;/code&amp;gt; is added to the '''denied extensions''' list, a file named &amp;lt;code&amp;gt;foo.php&amp;lt;/code&amp;gt; cannot be uploaded. If &amp;lt;code&amp;gt;rar&amp;lt;/code&amp;gt; (or any other) extension is added to the '''allowed extensions''' list, one can upload a file named &amp;lt;code&amp;gt;foo.rar&amp;lt;/code&amp;gt;. The file &amp;lt;code&amp;gt;foo.php.rar&amp;lt;/code&amp;gt; has a &amp;lt;code&amp;gt;rar&amp;lt;/code&amp;gt; extension so in theory, it can also be uploaded.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;If &amp;lt;code&amp;gt;php&amp;lt;/code&amp;gt; is added to the '''denied extensions''' list, a file named &amp;lt;code&amp;gt;foo.php&amp;lt;/code&amp;gt; cannot be uploaded. If &amp;lt;code&amp;gt;rar&amp;lt;/code&amp;gt; (or any other) extension is added to the '''allowed extensions''' list, one can upload a file named &amp;lt;code&amp;gt;foo.rar&amp;lt;/code&amp;gt;. The file &amp;lt;code&amp;gt;foo.php.rar&amp;lt;/code&amp;gt; has a &amp;lt;code&amp;gt;rar&amp;lt;/code&amp;gt; extension so in theory, it can also be uploaded.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Under some circumstances Apache can treat the &amp;lt;code&amp;gt;foo.php.rar&amp;lt;/code&amp;gt; file just like any other PHP script and execute it. If &amp;lt;code&amp;gt;{{{config}}}&amp;lt;/code&amp;gt; is enabled, each part of the file name after a dot is checked, not only the last part. &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;In this approach uploading &lt;/del&gt;&amp;lt;code&amp;gt;foo.php.rar&amp;lt;/code&amp;gt; &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;would &lt;/del&gt;be &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;denied, because &lt;/del&gt;&amp;lt;code&amp;gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;php&lt;/del&gt;&amp;lt;/code&amp;gt; &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;can be found on the denied extensions list&lt;/del&gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Under some circumstances Apache can treat the &amp;lt;code&amp;gt;foo.php.rar&amp;lt;/code&amp;gt; file just like any other PHP script and execute it. If &amp;lt;code&amp;gt;{{{config}}}&amp;lt;/code&amp;gt; is enabled, each part of the file name after a dot is checked, not only the last part. &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;If extension is disallowed, the dot ('''.''') is replaced with an underscore ('''_'''). So the uploaded file &lt;/ins&gt;&amp;lt;code&amp;gt;foo.php.rar&amp;lt;/code&amp;gt; &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;will &lt;/ins&gt;be &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;renamed into &lt;/ins&gt;&amp;lt;code&amp;gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;foo_php.rar&lt;/ins&gt;&amp;lt;/code&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key ckeditor_docsold:diff:version:1.11a:oldid:5983:newid:7230 --&gt;
&lt;/table&gt;</summary>
		<author><name>Wiktor</name></author>	</entry>

	<entry>
		<id>https://docs-old.ckeditor.com/index.php?title=Template:Ckfinder_2.x_Double_extensions_Description&amp;diff=5983&amp;oldid=prev</id>
		<title>Anna: CHeckDoubleExtension replaced with {{{config}}} variable</title>
		<link rel="alternate" type="text/html" href="https://docs-old.ckeditor.com/index.php?title=Template:Ckfinder_2.x_Double_extensions_Description&amp;diff=5983&amp;oldid=prev"/>
				<updated>2011-03-29T12:10:24Z</updated>
		
		<summary type="html">&lt;p&gt;CHeckDoubleExtension replaced with {{{config}}} variable&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;' lang='en'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 12:10, 29 March 2011&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l7&quot; &gt;Line 7:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 7:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;If &amp;lt;code&amp;gt;php&amp;lt;/code&amp;gt; is added to the '''denied extensions''' list, a file named &amp;lt;code&amp;gt;foo.php&amp;lt;/code&amp;gt; cannot be uploaded. If &amp;lt;code&amp;gt;rar&amp;lt;/code&amp;gt; (or any other) extension is added to the '''allowed extensions''' list, one can upload a file named &amp;lt;code&amp;gt;foo.rar&amp;lt;/code&amp;gt;. The file &amp;lt;code&amp;gt;foo.php.rar&amp;lt;/code&amp;gt; has a &amp;lt;code&amp;gt;rar&amp;lt;/code&amp;gt; extension so in theory, it can also be uploaded.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;If &amp;lt;code&amp;gt;php&amp;lt;/code&amp;gt; is added to the '''denied extensions''' list, a file named &amp;lt;code&amp;gt;foo.php&amp;lt;/code&amp;gt; cannot be uploaded. If &amp;lt;code&amp;gt;rar&amp;lt;/code&amp;gt; (or any other) extension is added to the '''allowed extensions''' list, one can upload a file named &amp;lt;code&amp;gt;foo.rar&amp;lt;/code&amp;gt;. The file &amp;lt;code&amp;gt;foo.php.rar&amp;lt;/code&amp;gt; has a &amp;lt;code&amp;gt;rar&amp;lt;/code&amp;gt; extension so in theory, it can also be uploaded.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Under some circumstances Apache can treat the &amp;lt;code&amp;gt;foo.php.rar&amp;lt;/code&amp;gt; file just like any other PHP script and execute it. If &amp;lt;code&amp;gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;CheckDoubleExtension&lt;/del&gt;&amp;lt;/code&amp;gt; is enabled, each part of the file name after a dot is checked, not only the last part. In this approach uploading &amp;lt;code&amp;gt;foo.php.rar&amp;lt;/code&amp;gt; would be denied, because &amp;lt;code&amp;gt;php&amp;lt;/code&amp;gt; can be found on the denied extensions list.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Under some circumstances Apache can treat the &amp;lt;code&amp;gt;foo.php.rar&amp;lt;/code&amp;gt; file just like any other PHP script and execute it. If &amp;lt;code&amp;gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;{{{config}}}&lt;/ins&gt;&amp;lt;/code&amp;gt; is enabled, each part of the file name after a dot is checked, not only the last part. In this approach uploading &amp;lt;code&amp;gt;foo.php.rar&amp;lt;/code&amp;gt; would be denied, because &amp;lt;code&amp;gt;php&amp;lt;/code&amp;gt; can be found on the denied extensions list.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key ckeditor_docsold:diff:version:1.11a:oldid:5982:newid:5983 --&gt;
&lt;/table&gt;</summary>
		<author><name>Anna</name></author>	</entry>

	<entry>
		<id>https://docs-old.ckeditor.com/index.php?title=Template:Ckfinder_2.x_Double_extensions_Description&amp;diff=5982&amp;oldid=prev</id>
		<title>Anna: Custom title added</title>
		<link rel="alternate" type="text/html" href="https://docs-old.ckeditor.com/index.php?title=Template:Ckfinder_2.x_Double_extensions_Description&amp;diff=5982&amp;oldid=prev"/>
				<updated>2011-03-29T08:49:54Z</updated>
		
		<summary type="html">&lt;p&gt;Custom title added&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;' lang='en'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 08:49, 29 March 2011&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot; &gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;{{#CUSTOMTITLE:Dealing with Double File Extensions}}&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Due to security issues with Apache modules it is recommended to leave the following setting enabled:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Due to security issues with Apache modules it is recommended to leave the following setting enabled:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{{code}}}&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{{code}}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;How does it work? Suppose the following scenario:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;How does it work? Suppose the following scenario:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key ckeditor_docsold:diff:version:1.11a:oldid:5974:newid:5982 --&gt;
&lt;/table&gt;</summary>
		<author><name>Anna</name></author>	</entry>

	<entry>
		<id>https://docs-old.ckeditor.com/index.php?title=Template:Ckfinder_2.x_Double_extensions_Description&amp;diff=5974&amp;oldid=prev</id>
		<title>Anna: Template contents proof-read and formatted</title>
		<link rel="alternate" type="text/html" href="https://docs-old.ckeditor.com/index.php?title=Template:Ckfinder_2.x_Double_extensions_Description&amp;diff=5974&amp;oldid=prev"/>
				<updated>2011-03-28T14:25:38Z</updated>
		
		<summary type="html">&lt;p&gt;Template contents proof-read and formatted&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;' lang='en'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 14:25, 28 March 2011&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot; &gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Due to security issues with Apache modules&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;, &lt;/del&gt;it is recommended to leave the following setting enabled:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Due to security issues with Apache modules it is recommended to leave the following setting enabled:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{{code}}}&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{{code}}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;How does it work? Suppose the following:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;How does it work? Suppose the following &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;scenario&lt;/ins&gt;:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;If &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;&amp;quot;&lt;/del&gt;php&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;&amp;quot; &lt;/del&gt;is &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;on &lt;/del&gt;the denied extensions list, a file named foo.php cannot be uploaded. If &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;&amp;quot;&lt;/del&gt;rar&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;&amp;quot; &lt;/del&gt;(or any other) extension is allowed, one can upload a file named foo.rar. The file foo.php.rar has &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;&amp;quot;&lt;/del&gt;rar&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;&amp;quot; &lt;/del&gt;extension so&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;, &lt;/del&gt;in theory, it can be &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;also &lt;/del&gt;uploaded.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;If &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;code&amp;gt;&lt;/ins&gt;php&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;/code&amp;gt; &lt;/ins&gt;is &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;added to &lt;/ins&gt;the &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'''&lt;/ins&gt;denied extensions&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;''' &lt;/ins&gt;list, a file named &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;code&amp;gt;&lt;/ins&gt;foo.php&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;/code&amp;gt; &lt;/ins&gt;cannot be uploaded. If &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;code&amp;gt;&lt;/ins&gt;rar&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;/code&amp;gt; &lt;/ins&gt;(or any other) extension is &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;added to the '''&lt;/ins&gt;allowed &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;extensions''' list&lt;/ins&gt;, one can upload a file named &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;code&amp;gt;&lt;/ins&gt;foo.rar&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;/code&amp;gt;&lt;/ins&gt;. The file &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;code&amp;gt;&lt;/ins&gt;foo.php.rar&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;/code&amp;gt; &lt;/ins&gt;has &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;a &amp;lt;code&amp;gt;&lt;/ins&gt;rar&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;/code&amp;gt; &lt;/ins&gt;extension so in theory, it can &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;also &lt;/ins&gt;be uploaded.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;In &lt;/del&gt;some &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;conditions &lt;/del&gt;Apache can treat the foo.php.rar file just like any PHP script and execute it. If CheckDoubleExtension is enabled, each part of the file name after a dot is checked, not only the last part. In this &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;way, &lt;/del&gt;uploading foo.php.rar would be denied, because &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;&amp;quot;&lt;/del&gt;php&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;&amp;quot; is &lt;/del&gt;on the denied extensions list.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Under &lt;/ins&gt;some &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;circumstances &lt;/ins&gt;Apache can treat the &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;code&amp;gt;&lt;/ins&gt;foo.php.rar&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;/code&amp;gt; &lt;/ins&gt;file just like any &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;other &lt;/ins&gt;PHP script and execute it. If &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;code&amp;gt;&lt;/ins&gt;CheckDoubleExtension&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;/code&amp;gt; &lt;/ins&gt;is enabled, each part of the file name after a dot is checked, not only the last part. In this &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;approach &lt;/ins&gt;uploading &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;code&amp;gt;&lt;/ins&gt;foo.php.rar&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;/code&amp;gt; &lt;/ins&gt;would be denied, because &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;code&amp;gt;&lt;/ins&gt;php&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;/code&amp;gt; can be found &lt;/ins&gt;on the denied extensions list.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key ckeditor_docsold:diff:version:1.11a:oldid:2936:newid:5974 --&gt;
&lt;/table&gt;</summary>
		<author><name>Anna</name></author>	</entry>

	<entry>
		<id>https://docs-old.ckeditor.com/index.php?title=Template:Ckfinder_2.x_Double_extensions_Description&amp;diff=2936&amp;oldid=prev</id>
		<title>Wiktor: moved Template:Ckfinder Double extensions Description 2.x to Template:Ckfinder 2.x Double extensions Description</title>
		<link rel="alternate" type="text/html" href="https://docs-old.ckeditor.com/index.php?title=Template:Ckfinder_2.x_Double_extensions_Description&amp;diff=2936&amp;oldid=prev"/>
				<updated>2010-05-14T18:50:38Z</updated>
		
		<summary type="html">&lt;p&gt;moved &lt;a href=&quot;/Template:Ckfinder_Double_extensions_Description_2.x&quot; class=&quot;mw-redirect&quot; title=&quot;Template:Ckfinder Double extensions Description 2.x&quot;&gt;Template:Ckfinder Double extensions Description 2.x&lt;/a&gt; to &lt;a href=&quot;/Template:Ckfinder_2.x_Double_extensions_Description&quot; title=&quot;Template:Ckfinder 2.x Double extensions Description&quot;&gt;Template:Ckfinder 2.x Double extensions Description&lt;/a&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr style='vertical-align: top;' lang='en'&gt;
				&lt;td colspan='1' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='1' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 18:50, 14 May 2010&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan='2' style='text-align: center;' lang='en'&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Wiktor</name></author>	</entry>

	<entry>
		<id>https://docs-old.ckeditor.com/index.php?title=Template:Ckfinder_2.x_Double_extensions_Description&amp;diff=2889&amp;oldid=prev</id>
		<title>Wiktor: Created page with 'Due to security issues with Apache modules, it is recommended to leave the following setting enabled: {{{code}}} How does it work? Suppose the following:  If &quot;php&quot; is on the deni…'</title>
		<link rel="alternate" type="text/html" href="https://docs-old.ckeditor.com/index.php?title=Template:Ckfinder_2.x_Double_extensions_Description&amp;diff=2889&amp;oldid=prev"/>
				<updated>2010-05-14T18:13:24Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;#039;Due to security issues with Apache modules, it is recommended to leave the following setting enabled: {{{code}}} How does it work? Suppose the following:  If &amp;quot;php&amp;quot; is on the deni…&amp;#039;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Due to security issues with Apache modules, it is recommended to leave the following setting enabled:&lt;br /&gt;
{{{code}}}&lt;br /&gt;
How does it work? Suppose the following:&lt;br /&gt;
&lt;br /&gt;
If &amp;quot;php&amp;quot; is on the denied extensions list, a file named foo.php cannot be uploaded. If &amp;quot;rar&amp;quot; (or any other) extension is allowed, one can upload a file named foo.rar. The file foo.php.rar has &amp;quot;rar&amp;quot; extension so, in theory, it can be also uploaded.&lt;br /&gt;
&lt;br /&gt;
In some conditions Apache can treat the foo.php.rar file just like any PHP script and execute it. If CheckDoubleExtension is enabled, each part of the file name after a dot is checked, not only the last part. In this way, uploading foo.php.rar would be denied, because &amp;quot;php&amp;quot; is on the denied extensions list.&lt;/div&gt;</summary>
		<author><name>Wiktor</name></author>	</entry>

	</feed>