From: Wilfried Goesgens Date: Mon, 30 Jan 2012 23:52:10 +0000 (+0100) Subject: Startpage: 'readfwd?go=' just delivers half of a page. the right landing page to... X-Git-Tag: v8.11~206 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=a2c82b9c528f42245015edacdc2670f5f7252b00 Startpage: 'readfwd?go=' just delivers half of a page. the right landing page to show a login is 'do_template?template=login' --- diff --git a/webcit/context_loop.c b/webcit/context_loop.c index fb5914462..bcab1154c 100644 --- a/webcit/context_loop.c +++ b/webcit/context_loop.c @@ -335,7 +335,7 @@ int ReadHttpSubject(ParsedHttpHdrs *Hdr, StrBuf *Line, StrBuf *Buf) } else { Hdr->HR.DontNeedAuth = 1; /* Flat request? show him the login screen... */ - StrBuf *NewLine = NewStrBufPlain(HKEY("GET /readfwd?go=")); + StrBuf *NewLine = NewStrBufPlain(HKEY("GET /do_template?template=login")); StrBufUrlescAppend(NewLine, Buf, NULL); StrBufAppendBufPlain(NewLine, HKEY(" HTTP/1.0"), 0); syslog(LOG_DEBUG, "Replacing with: %s", ChrPtr(NewLine));