What is the replacement for enable_directory_listing == "no"? #1517
-
|
In Mongoose 6, there was an |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
|
It could be enabled / disabled via the build flag, |
Beta Was this translation helpful? Give feedback.
-
|
I think it was a big mistake to remove the run time option to not list the dir. It is not reasonable to require the user to rebuild the library with a different build parameter to achieve this. This means that the developer's functionality can be accidentally over ridden by a user or administrator installing the wrong version of the Mongoose package. |
Beta Was this translation helpful? Give feedback.
It could be enabled / disabled via the build flag,
MG_ENABLE_DIRLIST=0orMG_ENABLE_DIRLIST=1There is no corresponding runtime option.