File tree Expand file tree Collapse file tree 3 files changed +7
-0
lines changed
user_guide_src/source/changelogs Expand file tree Collapse file tree 3 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -427,6 +427,8 @@ public function shouldRedirect(): bool
427427 * e.g. file/in/some/approved/folder.txt, you can set the second optional
428428 * parameter, $relativePath to TRUE.
429429 *
430+ * @deprecated 4.6.2 Use `sanitize_filename()` instead
431+ *
430432 * @param string $str Input file name
431433 * @param bool $relativePath Whether to preserve paths
432434 */
Original file line number Diff line number Diff line change @@ -66,6 +66,8 @@ public function shouldRedirect(): bool;
6666 * e.g. file/in/some/approved/folder.txt, you can set the second optional
6767 * parameter, $relativePath to TRUE.
6868 *
69+ * @deprecated 4.6.2 Use `sanitize_filename()` instead
70+ *
6971 * @param string $str Input file name
7072 * @param bool $relativePath Whether to preserve paths
7173 */
Original file line number Diff line number Diff line change @@ -28,6 +28,9 @@ Changes
2828Deprecations
2929************
3030
31+ - **Security: ** The ``Security::sanitizeFilename() `` method is deprecated. Use ``sanitize_filename() `` instead.
32+ - **Security: ** The ``SecurityInterface::sanitizeFilename() `` method is deprecated.
33+
3134**********
3235Bugs Fixed
3336**********
You can’t perform that action at this time.
0 commit comments