From: Nishi Date: Sun, 22 Sep 2024 14:00:22 +0000 (+0000) Subject: winxp patch X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=0204532d947aa5dfc0865e25d728f7958dc7ff34;p=tewi.git winxp patch git-svn-id: file:///raid/svn-personal/tewi/trunk@124 8739d7e6-ffea-ec47-b151-bdff447c6205 --- diff --git a/Server/server.c b/Server/server.c index 4a4857c..2d21175 100644 --- a/Server/server.c +++ b/Server/server.c @@ -557,7 +557,7 @@ int32_t tw_server_pass(void* ptr) { for(i = 0; i < sizeof(reserved_names) / sizeof(reserved_names[0]); i++) { char* n = cm_strcat("/", reserved_names[i]); if(cm_nocase_endswith(rpath, n)) { - tw_http_error(s, sock, 403, name, port); + tw_http_error(s, sock, 403, name, port, vhost_entry); free(n); rej = true; cm_log("Server", "XP Patch ; rejecting access to device"); diff --git a/Server/tw_version.h b/Server/tw_version.h index fb05dca..e6d1335 100644 --- a/Server/tw_version.h +++ b/Server/tw_version.h @@ -3,7 +3,7 @@ #ifndef __TW_VERSION_H__ #define __TW_VERSION_H__ -#define TW_VERSION "1.03\0" +#define TW_VERSION "1.03A\0" const char* tw_get_version(void); const char* tw_get_platform(void);