* Play safe in case we get no name

Reverted by r1855742.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1855741 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Ruediger Pluem
2019-03-18 09:16:06 +00:00
parent 807a365d91
commit 97752cb849
3 changed files with 18 additions and 12 deletions

View File

@ -573,6 +573,10 @@ AP_DECLARE(void) ap_no2slash_ex(char *name, int is_fs_path)
char *d, *s;
if (!name || !*name) {
return;
}
s = d = name;
#ifdef HAVE_UNC_PATHS