projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a5557d0
)
Remove base64-encoding of message permalinks.
author
Art Cancro
<ajc@uncensored.citadel.org>
Fri, 2 Mar 2012 03:13:08 +0000
(22:13 -0500)
committer
Art Cancro
<ajc@uncensored.citadel.org>
Fri, 2 Mar 2012 03:13:08 +0000
(22:13 -0500)
webcit/msg_renderers.c
patch
|
blob
|
history
diff --git
a/webcit/msg_renderers.c
b/webcit/msg_renderers.c
index c5af544928774e9e11be62961bc69f7df997caf3..c00817739d823cdfe80f65b266271fc0dc596db1 100644
(file)
--- a/
webcit/msg_renderers.c
+++ b/
webcit/msg_renderers.c
@@
-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);
}