ASF Bugzilla – Attachment 36815 Details for
Bug 63214
Using JkAutoAlias, Filenames with Spaces Cannot be found
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed fix
bug63214-jk-v1.patch (text/plain), 2.27 KB, created by
Mark Thomas
on 2019-10-07 20:31:09 UTC
(
hide
)
Description:
Proposed fix
Filename:
MIME Type:
Creator:
Mark Thomas
Created:
2019-10-07 20:31:09 UTC
Size:
2.27 KB
patch
obsolete
>Index: native/apache-2.0/mod_jk.c >=================================================================== >--- native/apache-2.0/mod_jk.c (revision 1867891) >+++ native/apache-2.0/mod_jk.c (working copy) >@@ -3834,10 +3834,7 @@ > if (strlen(clean_uri) > 1) { > char *context_path = NULL; > >- context_path = apr_pstrcat(r->pool, conf->alias_dir, >- ap_os_escape_path(r->pool, >- clean_uri, >- 1), NULL); >+ context_path = apr_pstrcat(r->pool, conf->alias_dir, clean_uri, NULL); > if (context_path != NULL) { > apr_stat(&finfo, context_path, APR_FINFO_TYPE, > r->pool); >@@ -3933,10 +3930,7 @@ > context_dir = apr_pstrdup(r->pool, index); > } > >- context_path = apr_pstrcat(r->pool, conf->alias_dir, >- ap_os_escape_path(r->pool, >- context_dir, >- 1), NULL); >+ context_path = apr_pstrcat(r->pool, conf->alias_dir, context_dir, NULL); > if (context_path != NULL) { > apr_finfo_t finfo; > finfo.filetype = APR_NOFILE; >@@ -3943,11 +3937,7 @@ > apr_stat(&finfo, context_path, APR_FINFO_TYPE, > r->pool); > if (finfo.filetype == APR_DIR) { >- char *escurl = >- ap_os_escape_path(r->pool, clean_uri, 1); >- char *ret = >- apr_pstrcat(r->pool, conf->alias_dir, escurl, >- NULL); >+ char *ret = apr_pstrcat(r->pool, conf->alias_dir, clean_uri, NULL); > /* Add code to verify real path ap_os_canonical_name */ > if (ret != NULL) { > if (JK_IS_DEBUG_LEVEL(conf->log))
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 63214
: 36815