Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
minor #25296 [WebProfiler] Disallow viewing dot-files in Profiler (cu…
…rry684) This PR was merged into the 3.3 branch. Discussion ---------- [WebProfiler] Disallow viewing dot-files in Profiler | Q | A | ------------- | --- | Branch? | 3.3 | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | License | MIT The file viewer in the profiler should not open files that were specifically intended to be hidden, like specifically .env files, but similarly files like .htaccess that might expose server configuration knowledge. Added tests validating both the new and old behavior. Commits ------- 6a2f518 Disallow viewing dot-files in Profiler
- Loading branch information
Showing
2 changed files
with
38 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters