Skip to content

Commit a9b0e17

Browse files
Ensure trace enabled=false in Release config (#6998)
1 parent 8851855 commit a9b0e17

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/NuGetGallery/Web.Release.config

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@
1616
-->
1717
<system.web>
1818
<compilation xdt:Transform="RemoveAttributes(debug)" />
19+
20+
<!-- This is set to 'false' for security reasons. -->
21+
<trace xdt:Transform="Remove"/>
22+
<trace xdt:Transform="InsertAfter(/configuration/system.web/compilation)" enabled="false"/>
23+
1924
<!--
2025
In the example below, the "Replace" transform will replace the entire
2126
<customErrors> section of your web.config file.

0 commit comments

Comments
 (0)