Differences From Artifact [a4cb358859]:
- File src/cgi.c — part of check-in [7b00defa9d] at 2021-02-08 17:29:00 on branch trunk — Enhance the /cookies webpage to show all cookies and give the user an opportunity to delete them. (user: drh size: 72446) [more...]
To Artifact [8f5c6cb699]:
- File src/cgi.c — part of check-in [71a2d68a7a] at 2021-03-02 07:11:08 on branch skin-preference-cookie — Skin selection is now stored in the user display prefs cookie and can be modified from any page by passing the skin=xyz URL parameter. Gets trumped by /draftX URI or --skin CLI flag or skin: CGI config setting. Removed /skn_XYZ URI handling. /skins page now uses the new mechanism for skin selection. UDC is now rendered on every page if it was modified during that request, regardless of the 'udc' URL parameter. See discussion at [https://fossil-scm.org/forum/forumpost/4d3a10c72a|/forumpost/4d3a10c72a]. (user: stephan size: 72725) [more...]
| ︙ | |||
1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 | 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 | + + + + + + + + + + + + |
"Internal misconfiguration of g.json.isJsonMode");
}
#endif
z = (char*)P("HTTP_COOKIE");
if( z ){
z = fossil_strdup(z);
add_param_list(z, ';');
z = (char*)cookie_value("skin",0);
if(z){
skin_use_alternative(z, 2);
}
}
z = (char*)P("QUERY_STRING");
if( z ){
z = fossil_strdup(z);
add_param_list(z, '&');
z = (char*)P("skin");
if(z){
char *zErr = skin_use_alternative(z, 2);
if(!zErr){
cookie_write_parameter("skin","skin",z);
}
fossil_free(zErr);
}
}
z = (char*)P("REMOTE_ADDR");
if( z ){
g.zIpAddr = fossil_strdup(z);
}
|
| ︙ |