* List sub/unsub confirmation -- Citadel now wants http:// or https://
authorArt Cancro <ajc@citadel.org>
Mon, 24 Oct 2005 15:59:53 +0000 (15:59 +0000)
committerArt Cancro <ajc@citadel.org>
Mon, 24 Oct 2005 15:59:53 +0000 (15:59 +0000)
  prepended as part of the 'submitted subscribe url' so we are now doing
  that.

webcit/ChangeLog
webcit/listsub.c

index 0552b742e40b5ff570907c2b2c467092edfb774c..fef11cf4b091c386497cb6831177d66acf1a4397 100644 (file)
@@ -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.
index cbcf5af772d762a18a4e19405e5816b10c7051c2..87bddb4d200e0c3008758a239caf223f4494555e 100644 (file)
@@ -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);