Skip to content

Commit adea6dd

Browse files
Final addition to disallowed upload files
1 parent cad0650 commit adea6dd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Umbraco.Web.UI/config/umbracoSettings.Release.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
<MacroErrors>inline</MacroErrors>
4646

4747
<!-- These file types will not be allowed to be uploaded via the upload control for media and content -->
48-
<disallowedUploadFiles>ashx,aspx,ascx,config,cshtml,vbhtml,asmx,air,axd,swf,xml,html.htm,svg,php</disallowedUploadFiles>
48+
<disallowedUploadFiles>ashx,aspx,ascx,config,cshtml,vbhtml,asmx,air,axd,swf,xml,html.htm,svg,php,htaccess</disallowedUploadFiles>
4949

5050
<!-- Defines the default document type property used when adding properties in the back-office (if missing or empty, defaults to Textstring -->
5151
<defaultDocumentTypeProperty>Textstring</defaultDocumentTypeProperty>

src/Umbraco.Web.UI/config/umbracoSettings.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@
9898
<MacroErrors>throw</MacroErrors>
9999

100100
<!-- These file types will not be allowed to be uploaded via the upload control for media and content -->
101-
<disallowedUploadFiles>ashx,aspx,ascx,config,cshtml,vbhtml,asmx,air,axd,swf,xml,html.htm,svg,php</disallowedUploadFiles>
101+
<disallowedUploadFiles>ashx,aspx,ascx,config,cshtml,vbhtml,asmx,air,axd,swf,xml,html.htm,svg,php,htaccess</disallowedUploadFiles>
102102

103103
<!-- Defines the default document type property used when adding properties in the back-office (if missing or empty, defaults to Textstring -->
104104
<defaultDocumentTypeProperty>Textstring</defaultDocumentTypeProperty>

0 commit comments

Comments
 (0)