Fossil SCM
Fix login redirects for the forum. [forum:/forumpost/7663482abad5a3ea|Forum post 7663482abad5a3ea].
Commit
c717d2803e19a120dfc0790dc2914831950328183b47c816f8bd2aed11717e5a
Parent
00c8622a0270ed4…
1 file changed
+2
-2
+2
-2
| --- src/forum.c | ||
| +++ src/forum.c | ||
| @@ -1051,14 +1051,14 @@ | ||
| 1051 | 1051 | if( !g.perm.WrForum ){ |
| 1052 | 1052 | login_needed(g.anon.WrForum); |
| 1053 | 1053 | return; |
| 1054 | 1054 | } |
| 1055 | 1055 | if( sqlite3_strglob("*edit*", g.zPath)==0 ){ |
| 1056 | - zGoto = mprintf("%R/forume2?fpid=%S",PD("fpid","")); | |
| 1056 | + zGoto = mprintf("forume2?fpid=%S",PD("fpid","")); | |
| 1057 | 1057 | isEdit = 1; |
| 1058 | 1058 | }else{ |
| 1059 | - zGoto = mprintf("%R/forume1"); | |
| 1059 | + zGoto = mprintf("forume1"); | |
| 1060 | 1060 | isEdit = 0; |
| 1061 | 1061 | } |
| 1062 | 1062 | if( login_is_individual() ){ |
| 1063 | 1063 | if( isEdit ){ |
| 1064 | 1064 | forumedit_page(); |
| 1065 | 1065 |
| --- src/forum.c | |
| +++ src/forum.c | |
| @@ -1051,14 +1051,14 @@ | |
| 1051 | if( !g.perm.WrForum ){ |
| 1052 | login_needed(g.anon.WrForum); |
| 1053 | return; |
| 1054 | } |
| 1055 | if( sqlite3_strglob("*edit*", g.zPath)==0 ){ |
| 1056 | zGoto = mprintf("%R/forume2?fpid=%S",PD("fpid","")); |
| 1057 | isEdit = 1; |
| 1058 | }else{ |
| 1059 | zGoto = mprintf("%R/forume1"); |
| 1060 | isEdit = 0; |
| 1061 | } |
| 1062 | if( login_is_individual() ){ |
| 1063 | if( isEdit ){ |
| 1064 | forumedit_page(); |
| 1065 |
| --- src/forum.c | |
| +++ src/forum.c | |
| @@ -1051,14 +1051,14 @@ | |
| 1051 | if( !g.perm.WrForum ){ |
| 1052 | login_needed(g.anon.WrForum); |
| 1053 | return; |
| 1054 | } |
| 1055 | if( sqlite3_strglob("*edit*", g.zPath)==0 ){ |
| 1056 | zGoto = mprintf("forume2?fpid=%S",PD("fpid","")); |
| 1057 | isEdit = 1; |
| 1058 | }else{ |
| 1059 | zGoto = mprintf("forume1"); |
| 1060 | isEdit = 0; |
| 1061 | } |
| 1062 | if( login_is_individual() ){ |
| 1063 | if( isEdit ){ |
| 1064 | forumedit_page(); |
| 1065 |