Overview
SHA1 Hash: | 0a523be389f9efe9b281b1c3dca2340455777bcc |
---|---|
Date: | 2008-11-20 23:19:41 |
User: | drh |
Comment: | Another attempt to get the /home to /login redirection correct. |
Timelines: | ancestors | descendants | both | trunk |
Other Links: | files | ZIP archive | manifest |
Tags And Properties
- branch=trunk inherited from [a28c83647d]
- sym-trunk inherited from [a28c83647d]
Changes
[hide diffs]Modified src/wiki.c from [c4f9be7f80] to [175d2ccd39].
@@ -80,11 +80,11 @@ */ void home_page(void){ char *zPageName = db_get("project-name",0); login_check_credentials(); if( !g.okRdWiki ){ - cgi_redirectf("%s/login?g=/home", g.zBaseURL); + cgi_redirectf("%s/login?g=%s/home", g.zBaseURL, g.zBaseURL); } if( zPageName ){ login_check_credentials(); g.zExtra = zPageName; cgi_set_parameter_nocopy("name", g.zExtra);