Artifact 2a131247552be3f84b501df414143f1ebbfa7793:
- File th1ish/cgi/pages/env.fossi1ish — part of check-in [fdb8174e77] at 2014-03-09 13:34:33 on branch trunk — Lots of tinkering with the CGI scripts. First f-checkin with added files. (user: stephan size: 369)
const CGI = api.cgi CGI.isLocalServer || throw api.Exception(Fossil.rc.ACCESS, "This page only runs in local server mode.") const R = CGI.request const rc = object{ ENV: R.ENV, GET: R.GET, POST: R.POST, COOKIES: R.COOKIES } rc.ENV.sortProperties() Fossil.sorter(rc.COOKIES) $out {<div class='code'>} $out [CGI.htmlEscape [CGI.toJSONString rc]] $out {</div>}