Remove base64-encoding of message permalinks.
authorArt Cancro <ajc@uncensored.citadel.org>
Fri, 2 Mar 2012 03:13:08 +0000 (22:13 -0500)
committerArt Cancro <ajc@uncensored.citadel.org>
Fri, 2 Mar 2012 03:13:08 +0000 (22:13 -0500)
webcit/msg_renderers.c

index c5af544928774e9e11be62961bc69f7df997caf3..c00817739d823cdfe80f65b266271fc0dc596db1 100644 (file)
@@ -869,15 +869,11 @@ void tmplput_MAIL_SUMM_PERMALINK(StrBuf *Target, WCTemplputParams *TP)
 {
        message_summary *Msg = (message_summary*) CTX;
        char perma_link[1024];
-       char encoded_link[1024];
 
        strcpy(perma_link, "/readfwd?go=");
        urlesc(&perma_link[12], sizeof(perma_link) - 12, (char *)ChrPtr(WC->CurRoom.name) );
        sprintf(&perma_link[strlen(perma_link)], "?start_reading_at=%ld#%ld", Msg->msgnum, Msg->msgnum);
-
-
-       CtdlEncodeBase64(encoded_link, perma_link, strlen(perma_link), 0);
-       StrBufAppendPrintf(Target, "/B64%s", encoded_link);
+       StrBufAppendPrintf(Target, "%s", perma_link);
 }