From 6ae6a1cee651d91d73284dc07586933d26f8204d Mon Sep 17 00:00:00 2001 From: Art Cancro Date: Mon, 24 Oct 2005 15:59:53 +0000 Subject: [PATCH] * List sub/unsub confirmation -- Citadel now wants http:// or https:// prepended as part of the 'submitted subscribe url' so we are now doing that. --- webcit/ChangeLog | 5 +++++ webcit/listsub.c | 6 ++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/webcit/ChangeLog b/webcit/ChangeLog index 0552b742e..fef11cf4b 100644 --- a/webcit/ChangeLog +++ b/webcit/ChangeLog @@ -1,3 +1,8 @@ +Mon Oct 24 11:58:53 EDT 2005 ajc +* List sub/unsub confirmation -- Citadel now wants http:// or https:// + prepended as part of the 'submitted subscribe url' so we are now doing + that. + Sat Oct 22 01:01:02 EDT 2005 ajc * More changes required to be able to do embedded message/rfc822 and still be able to view the attachments in the embedded submessage. Yow. diff --git a/webcit/listsub.c b/webcit/listsub.c index cbcf5af77..87bddb4d2 100644 --- a/webcit/listsub.c +++ b/webcit/listsub.c @@ -50,10 +50,11 @@ void do_listsub(void) * Subscribe command */ if (!strcasecmp(cmd, "subscribe")) { - serv_printf("SUBS subscribe|%s|%s|%s|%s/listsub", + serv_printf("SUBS subscribe|%s|%s|%s|%s://%s/listsub", room, email, subtype, + (is_https ? "https" : "http"), WC->http_host ); serv_getln(buf, sizeof buf); @@ -91,9 +92,10 @@ void do_listsub(void) * Unsubscribe command */ else if (!strcasecmp(cmd, "unsubscribe")) { - serv_printf("SUBS unsubscribe|%s|%s|%s/listsub", + serv_printf("SUBS unsubscribe|%s|%s|%s://%s/listsub", room, email, + (is_https ? "https" : "http"), WC->http_host ); serv_getln(buf, sizeof buf); -- 2.30.2