mirror of
https://github.com/misterunknown/ifm.git
synced 2025-08-11 10:34:00 +02:00
disable showing of .ht files, as this is a potential security flaw
This commit is contained in:
@@ -46,7 +46,7 @@ class IFM {
|
|||||||
"showowner" => 1,
|
"showowner" => 1,
|
||||||
"showgroup" => 1,
|
"showgroup" => 1,
|
||||||
"showpermissions" => 2,
|
"showpermissions" => 2,
|
||||||
"showhtdocs" => 1,
|
"showhtdocs" => 0,
|
||||||
"showhiddenfiles" => 1,
|
"showhiddenfiles" => 1,
|
||||||
"showpath" => 0,
|
"showpath" => 0,
|
||||||
);
|
);
|
||||||
|
2
ifm.php
2
ifm.php
@@ -46,7 +46,7 @@ class IFM {
|
|||||||
"showowner" => 1,
|
"showowner" => 1,
|
||||||
"showgroup" => 1,
|
"showgroup" => 1,
|
||||||
"showpermissions" => 2,
|
"showpermissions" => 2,
|
||||||
"showhtdocs" => 1,
|
"showhtdocs" => 0,
|
||||||
"showhiddenfiles" => 1,
|
"showhiddenfiles" => 1,
|
||||||
"showpath" => 0,
|
"showpath" => 0,
|
||||||
);
|
);
|
||||||
|
@@ -46,7 +46,7 @@ class IFM {
|
|||||||
"showowner" => 1,
|
"showowner" => 1,
|
||||||
"showgroup" => 1,
|
"showgroup" => 1,
|
||||||
"showpermissions" => 2,
|
"showpermissions" => 2,
|
||||||
"showhtdocs" => 1,
|
"showhtdocs" => 0,
|
||||||
"showhiddenfiles" => 1,
|
"showhiddenfiles" => 1,
|
||||||
"showpath" => 0,
|
"showpath" => 0,
|
||||||
);
|
);
|
||||||
|
Reference in New Issue
Block a user