mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 20:08:53 +00:00
[ticket/16907] Adjust request filtering for phpbb paths
PHPBB-16907
This commit is contained in:
parent
c790e81fb6
commit
922e7699ed
1 changed files with 27 additions and 0 deletions
|
@ -28,6 +28,33 @@
|
|||
</requestFiltering>
|
||||
</security>
|
||||
</system.webServer>
|
||||
<location path="config">
|
||||
<system.webServer>
|
||||
<security>
|
||||
<requestFiltering>
|
||||
<hiddenSegments>
|
||||
<add segment="default" />
|
||||
<add segment="development" />
|
||||
<add segment="installer" />
|
||||
<add segment="production" />
|
||||
<add segment="test" />
|
||||
<add segment=".htaccess" />
|
||||
</hiddenSegments>
|
||||
</requestFiltering>
|
||||
</security>
|
||||
</system.webServer>
|
||||
</location>
|
||||
<location path="ext">
|
||||
<system.webServer>
|
||||
<security>
|
||||
<requestFiltering>
|
||||
<hiddenSegments>
|
||||
<remove segment="phpbb" />
|
||||
</hiddenSegments>
|
||||
</requestFiltering>
|
||||
</security>
|
||||
</system.webServer>
|
||||
</location>
|
||||
<location path="images/avatars">
|
||||
<system.webServer>
|
||||
<security>
|
||||
|
|
Loading…
Add table
Reference in a new issue