summaryrefslogtreecommitdiff
path: root/BBSHTMLConfig.c
diff options
context:
space:
mode:
authorDave Hibberd <hibby@debian.org>2026-06-29 11:37:02 +0100
committerDave Hibberd <hibby@debian.org>2026-06-29 11:37:02 +0100
commit4069b590bab97f853f74b35643ee18e85d3d2faf (patch)
treeae63202436cefa22a47500b8f8ed2cffb1ea69da /BBSHTMLConfig.c
parent53233bad3c533ed5b2e9034c97a3f3b4683a5628 (diff)
parent23de03a0c8bf8a564cc0442f49d050ed11e372b8 (diff)
Update upstream source from tag 'upstream/6.0.25.33.1+repack'
Update to upstream version '6.0.25.33.1+repack' with Debian dir e413f4c5ca4f2d5d40bfb161d45fca5eabc730f3
Diffstat (limited to 'BBSHTMLConfig.c')
-rw-r--r--BBSHTMLConfig.c12
1 files changed, 9 insertions, 3 deletions
diff --git a/BBSHTMLConfig.c b/BBSHTMLConfig.c
index 05a08bb..4593cbd 100644
--- a/BBSHTMLConfig.c
+++ b/BBSHTMLConfig.c
@@ -439,9 +439,6 @@ void ProcessMailHTTPMessage(struct HTTPConnectionInfo * Session, char * Method,
if (URL[0] == 0 || Method == NULL)
return;
- if (strstr(input, "Host: 127.0.0.1"))
- LOCAL = TRUE;
-
if (Session->TNC == (void *)1) // Re-using an address as a flag
LOCAL = TRUE;
@@ -2032,6 +2029,15 @@ VOID SaveFwdDetails(struct HTTPConnectionInfo * Session, char * MsgPtr, char * R
ptr1 = GetNextParam(&ptr2); // Connect Timeout
FWDInfo->ConTimeout = atoi(ptr1);
+ // Don't allow blocked uncompressed
+
+ if (FWDInfo->AllowBlocked)
+ FWDInfo->AllowCompressed = 1;
+
+ if (FWDInfo->AllowCompressed)
+ FWDInfo->AllowBlocked = 1;
+
+
SaveConfig(ConfigName);
GetConfig(ConfigName);