Differences From Artifact [5cfc04db71]:
- File src/login.c — part of check-in [d327660804] at 2020-12-14 14:27:14 on branch trunk — If REQUEST_URI includes a query string (which it does for "fossil ui" and for Apache, but not for althttpd) then omit that string prior to using the REQUEST_URI when forming the "g=" query parameter for the login redirect in login_needed(). (user: drh size: 72650) [more...]
To Artifact [5e60bb14db]:
- File src/login.c — part of check-in [8ac0830bfc] at 2020-12-22 11:58:34 on branch body-feature-class — Calling the new style_set_current_feature() function to override the new TH1 variable $current_feature for Fossil UI pages where the page name isn't what we want used as the "body" CSS class. For the most part, this matches the value currently being passed to style_finish_page(), but a few have changed with the benefit of hindsight. Not all calls to style_finish_page() have a corresponding call to the new function since the default value for $current_page now suffices. (user: wyoung size: 72688)
︙ | |||
654 655 656 657 658 659 660 661 662 663 664 665 666 667 | 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 | + | ** where HASH is a random hex number, PROJECT is either project ** code prefix, and LOGIN is the user name. */ login_set_user_cookie(zUsername, uid, NULL, rememberMe?0:1); redirect_to_g(); } } style_set_current_feature("login"); style_header("Login/Logout"); style_adunit_config(ADUNIT_OFF); @ %s(zErrMsg) if( zGoto && !noAnon ){ char *zAbbrev = fossil_strdup(zGoto); int i; for(i=0; zAbbrev[i] && zAbbrev[i]!='?'; i++){} |
︙ |