Blame SOURCES/httpd-2.4.43-r1861269.patch
|
|
0e3136 |
diff --git a/modules/ssl/ssl_engine_config.c b/modules/ssl/ssl_engine_config.c
|
|
|
0e3136 |
index b53f3f8..979489c 100644
|
|
|
0e3136 |
--- a/modules/ssl/ssl_engine_config.c
|
|
|
0e3136 |
+++ b/modules/ssl/ssl_engine_config.c
|
|
|
0e3136 |
@@ -812,8 +812,14 @@ const char *ssl_cmd_SSLCipherSuite(cmd_parms *cmd,
|
|
|
0e3136 |
static const char *ssl_cmd_check_file(cmd_parms *parms,
|
|
|
0e3136 |
const char **file)
|
|
|
0e3136 |
{
|
|
|
0e3136 |
- const char *filepath = ap_server_root_relative(parms->pool, *file);
|
|
|
0e3136 |
+ const char *filepath;
|
|
|
0e3136 |
|
|
|
0e3136 |
+ /* If only dumping the config, don't verify the paths */
|
|
|
0e3136 |
+ if (ap_state_query(AP_SQ_RUN_MODE) == AP_SQ_RM_CONFIG_DUMP) {
|
|
|
0e3136 |
+ return NULL;
|
|
|
0e3136 |
+ }
|
|
|
0e3136 |
+
|
|
|
0e3136 |
+ filepath = ap_server_root_relative(parms->pool, *file);
|
|
|
0e3136 |
if (!filepath) {
|
|
|
0e3136 |
return apr_pstrcat(parms->pool, parms->cmd->name,
|
|
|
0e3136 |
": Invalid file path ", *file, NULL);
|