Prevent duplicate configuration file includes#39
Prevent duplicate configuration file includes#39amulet1 wants to merge 1 commit intohorde:FRAMEWORK_6_0from
Conversation
|
@TDannhauer Please merge. |
|
@TDannhauer Not sure if you missed this PR. |
|
Just in case, here's a (AI generated) summary of the key changes between these two versions: Security and Reliability Improvements1. Path Traversal Protection The new version adds 2. File Existence Validation The original version only checked 3. Safer Array Access Changed Code Structure Refactoring4. Loop Simplification Replaced the complex 5. Vhost Logic Improvement The vhost file loading now uses a boolean flag ( 6. Code Formatting Added consistent blank lines between property declarations and improved readability throughout the constructor. The most critical change is the security enhancement that prevents potential exploits through path manipulation and duplicate file inclusion. |
a44d54d to
90d7126
Compare
|
@TDannhauer Please merge. |
Also: simplify the code.
This is a proper fix for #20.
Note, with this PR merged we no longer need guards like horde/kronolith#17 or horde/imp@b05084b.