Fossil SCM

Show the value of SERVER_SOFTWARE on the /test_env page.

drh 2022-01-16 01:34 trunk
Commit f1729c4736558d674d8c5c6ff6096f431fa2a2aa381b837f77e9e86635c976b1
1 file changed +1
--- src/style.c
+++ src/style.c
@@ -1394,10 +1394,11 @@
13941394
#endif
13951395
@ cgi_csrf_safe(0) = %d(cgi_csrf_safe(0))<br />
13961396
@ fossil_exe_id() = %h(fossil_exe_id())<br />
13971397
@ <hr />
13981398
P("HTTP_USER_AGENT");
1399
+ P("SERVER_SOFTWARE");
13991400
cgi_print_all(showAll, 0);
14001401
if( showAll && blob_size(&g.httpHeader)>0 ){
14011402
@ <hr />
14021403
@ <pre>
14031404
@ %h(blob_str(&g.httpHeader))
14041405
--- src/style.c
+++ src/style.c
@@ -1394,10 +1394,11 @@
1394 #endif
1395 @ cgi_csrf_safe(0) = %d(cgi_csrf_safe(0))<br />
1396 @ fossil_exe_id() = %h(fossil_exe_id())<br />
1397 @ <hr />
1398 P("HTTP_USER_AGENT");
 
1399 cgi_print_all(showAll, 0);
1400 if( showAll && blob_size(&g.httpHeader)>0 ){
1401 @ <hr />
1402 @ <pre>
1403 @ %h(blob_str(&g.httpHeader))
1404
--- src/style.c
+++ src/style.c
@@ -1394,10 +1394,11 @@
1394 #endif
1395 @ cgi_csrf_safe(0) = %d(cgi_csrf_safe(0))<br />
1396 @ fossil_exe_id() = %h(fossil_exe_id())<br />
1397 @ <hr />
1398 P("HTTP_USER_AGENT");
1399 P("SERVER_SOFTWARE");
1400 cgi_print_all(showAll, 0);
1401 if( showAll && blob_size(&g.httpHeader)>0 ){
1402 @ <hr />
1403 @ <pre>
1404 @ %h(blob_str(&g.httpHeader))
1405

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button