Differences From Artifact [2c96edb8b7]:
- File src/style.c — part of check-in [4207a04072] at 2017-07-02 18:22:02 on branch trunk — On the /test_env page, report the values of the REMOTE_USER and HTTP_AUTHENTICATION environment variables, if they exist. (user: drh size: 47204) [more...]
To Artifact [f04258db49]:
- File src/style.c — part of check-in [d28cb283f3] at 2017-07-03 11:26:11 on branch security-risk — On the /test_env page, show the AUTH_CONTENT and AUTH_TYPE environment variables in "cookie" mode. - On second thought, better to not show these, since they can expose passwords on screen. (user: drh size: 47268)
| ︙ | |||
1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 | 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 | + + + + |
if( i>0 ){
@ anonymous-adds = %s(zCap)<br />
}
@ g.zRepositoryName = %h(g.zRepositoryName)<br />
@ load_average() = %f(load_average())<br />
@ <hr />
P("HTTP_USER_AGENT");
if( showAll ){
P("AUTH_CONTENT");
P("AUTH_TYPE");
}
cgi_print_all(showAll);
if( showAll && blob_size(&g.httpHeader)>0 ){
@ <hr />
@ <pre>
@ %h(blob_str(&g.httpHeader))
@ </pre>
}
|
| ︙ |