Go to the source code of this file.
◆ is_secure_file_path()
bool is_secure_file_path |
( |
const char * |
path, |
|
|
const char * |
opt_secure_file_priv, |
|
|
CHARSET_INFO * |
system_charset_info, |
|
|
CHARSET_INFO * |
files_charset_info, |
|
|
bool |
lower_case_file_system |
|
) |
| |
Test a file path to determine if the path is compatible with the secure file path restriction.
- Parameters
-
path | null terminated character string |
opt_secure_file_priv | secure_file_priv content |
system_charset_info | system charset |
files_charset_info | files charset |
lower_case_file_system | true if lower case file system, false otherwise |
- Return values
-
true | The path is secure |
false | The path isn't secure |