Skip to content

Commit 0e7fb1d

Browse files
committed
Fix encoding processing
1 parent 1d5de5a commit 0e7fb1d

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎native/mod_manager/mod_manager.c‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2316,7 +2316,9 @@ static apr_status_t decodeenc(char **ptr)
23162316
val = 0;
23172317
while (NULL != ptr[val]) {
23182318
if (ptr[val][0] == '\0') {
2319-
return APR_SUCCESS; /* special case for no characters */
2319+
/* special case for no characters */
2320+
val++;
2321+
continue;
23202322
}
23212323
for (i = 0, j = 0; ptr[val][i] != '\0'; i++, j++) {
23222324
/* decode it if not already done */

0 commit comments

Comments
 (0)