Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Load all environment variables that start with an upper-case ASCII letter as wapp-param values in CGI mode, rather than only loading selected variables. |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
68331516e911750917203aa1cf16bfd4 |
User & Date: | drh 2019-08-01 16:46:03.123 |
Context
2019-08-01
| ||
23:40 | Adjust the makefile to use SQLITE_ENABLE_DESERIALIZE. (check-in: 6b66ed109d user: drh tags: trunk) | |
16:46 | Load all environment variables that start with an upper-case ASCII letter as wapp-param values in CGI mode, rather than only loading selected variables. (check-in: 68331516e9 user: drh tags: trunk) | |
2019-07-31
| ||
14:30 | Fix to [80f25418a1c32b8d] so that it works as CGI again. Also omit a parameter to wappInt-handle-request that is no longer used. (check-in: 44f07d8804 user: drh tags: trunk) | |
Changes
Changes to wapp.tcl.
︙ | ︙ | |||
795 796 797 798 799 800 801 | # proc wapp-before-dispatch-hook {} {return} # Process a single CGI request # proc wappInt-handle-cgi-request {} { global wapp env | < < < < < < < < < < < < < < < < < < < < < < < | < < | 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 | # proc wapp-before-dispatch-hook {} {return} # Process a single CGI request # proc wappInt-handle-cgi-request {} { global wapp env foreach key [array names env {[A-Z]*}] {dict set wapp $key $env($key)} set len 0 if {[dict exists $wapp CONTENT_LENGTH]} { set len [dict get $wapp CONTENT_LENGTH] } if {$len>0} { fconfigure stdin -translation binary dict set wapp CONTENT [read stdin $len] |
︙ | ︙ |