$Log$
+Revision 510.6 2004/05/31 21:43:27 ajc
+* Added "|END" to the session cookie before base64-ing it. This fixes a
+ problem with certain room names causing the webserver to freak out and
+ break embedded images and stuff. I don't know why.
+
Revision 510.5 2004/05/31 20:34:11 ajc
* Message entry using Kevin Roth's excellent cross-platform richtext
editing script.
1998-12-03 Nathan Bryant <bryant@cs.usm.maine.edu>
* webserver.c: warning fix
-
{
char buf[SIZ];
- sprintf(buf, "%d|%s|%s|%s", session, user, pass, room);
+ sprintf(buf, "%d|%s|%s|%s|END", session, user, pass, room);
CtdlEncodeBase64(cookie, buf, strlen(buf));
}
}
/* Now offer the ability to attach additional files... */
- wprintf("Attach file: <input NAME=\"attachfile\" "
+ wprintf(" "
+ "Attach file: <input NAME=\"attachfile\" "
"SIZE=48 TYPE=\"file\">\n "
"<input type=\"submit\" name=\"attach\" value=\"Add\">\n");