Overview
SHA1 Hash: | 3420e47b24de553803c644ebcfa43ce229c644c5 |
---|---|
Date: | 2008-11-20 23:17:50 |
User: | drh |
Comment: | Try again to get the redirection correct when redirecting from /home to /login. |
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 [2a9c0eaad3] to [c4f9be7f80].
@@ -80,11 +80,11 @@ */ void home_page(void){ char *zPageName = db_get("project-name",0); login_check_credentials(); if( !g.okRdWiki ){ - cgi_redirect("/login?g=/home"); + cgi_redirectf("%s/login?g=/home", g.zBaseURL); } if( zPageName ){ login_check_credentials(); g.zExtra = zPageName; cgi_set_parameter_nocopy("name", g.zExtra);