Startpage: 'readfwd?go=' just delivers half of a page. the right landing page to...
authorWilfried Goesgens <dothebart@citadel.org>
Mon, 30 Jan 2012 23:52:10 +0000 (00:52 +0100)
committerWilfried Goesgens <dothebart@citadel.org>
Mon, 30 Jan 2012 23:52:10 +0000 (00:52 +0100)
webcit/context_loop.c

index fb59144628ef36381458529276f4efafc6b8bf9f..bcab1154cce277f7f441e5196b9c9b8624878bf4 100644 (file)
@@ -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));