2014-10-05 11:53:19 +02:00
|
|
|
Author: Omni Flux <omniflux@omniflux.com>
|
|
|
|
Description: stripping the log_archive_path value from cgi.cfg (#578232)
|
|
|
|
--- a/cgi/cgiutils.c
|
|
|
|
+++ b/cgi/cgiutils.c
|
2017-05-20 00:28:01 +02:00
|
|
|
@@ -511,7 +511,7 @@
|
2014-10-05 11:53:19 +02:00
|
|
|
temp_buffer = strtok(NULL, "\n");
|
|
|
|
strncpy(log_archive_path, (temp_buffer == NULL) ? "" : temp_buffer, sizeof(log_archive_path));
|
|
|
|
log_archive_path[sizeof(log_archive_path) - 1] = '\x0';
|
|
|
|
- strip(physical_html_path);
|
|
|
|
+ strip(log_archive_path);
|
|
|
|
if(log_archive_path[strlen(log_archive_path) - 1] != '/' && (strlen(log_archive_path) < sizeof(log_archive_path) - 1))
|
|
|
|
strcat(log_archive_path, "/");
|
|
|
|
}
|