From a2c82b9c528f42245015edacdc2670f5f7252b00 Mon Sep 17 00:00:00 2001 From: Wilfried Goesgens Date: Tue, 31 Jan 2012 00:52:10 +0100 Subject: [PATCH] Startpage: 'readfwd?go=' just delivers half of a page. the right landing page to show a login is 'do_template?template=login' --- webcit/context_loop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); -- 2.30.2