]> git.plutz.net Git - cgilite/log
cgilite
4 years agoallow configuration of session timeout, make timestamp variable reusable
Paul Hänsch [Sat, 30 Nov 2019 12:30:49 +0000 (13:30 +0100)]
allow configuration of session timeout, make timestamp variable reusable

4 years agokill program on connection loss
Paul Hänsch [Thu, 21 Nov 2019 00:50:57 +0000 (01:50 +0100)]
kill program on connection loss

4 years agoBugfix (security): fail session id check on undetermined condition
Paul Hänsch [Thu, 30 May 2019 11:50:13 +0000 (13:50 +0200)]
Bugfix (security): fail session id check on undetermined condition

4 years agofunction for providing file transaction IDs
Paul Hänsch [Thu, 9 May 2019 14:03:22 +0000 (16:03 +0200)]
function for providing file transaction IDs

4 years agoportable sed invocations
Paul Hänsch [Thu, 9 May 2019 13:35:36 +0000 (15:35 +0200)]
portable sed invocations

5 years agoportable sed invocations
Paul Hänsch [Thu, 4 Apr 2019 12:19:49 +0000 (14:19 +0200)]
portable sed invocations

5 years agoMerge branch 'master' of plutz.net:cgilite
Paul Hänsch [Thu, 4 Apr 2019 12:09:45 +0000 (14:09 +0200)]
Merge branch 'master' of plutz.net:cgilite

5 years agokey listing functions: GET_KEYS() POST_KEYS() REF_KEYS()
Paul Hänsch [Thu, 4 Apr 2019 12:07:46 +0000 (14:07 +0200)]
key listing functions: GET_KEYS() POST_KEYS() REF_KEYS()

5 years agodo not close non-closing html tags
Paul Hänsch [Thu, 4 Apr 2019 12:06:51 +0000 (14:06 +0200)]
do not close non-closing html tags

5 years agoescaping features
Paul Hänsch [Tue, 26 Feb 2019 21:48:31 +0000 (22:48 +0100)]
escaping features

5 years agoid checker for correct slopecode
Paul Hänsch [Tue, 20 Nov 2018 13:28:26 +0000 (14:28 +0100)]
id checker for correct slopecode

5 years agovarious refinements in new modules
Paul Hänsch [Sun, 18 Nov 2018 20:59:01 +0000 (21:59 +0100)]
various refinements in new modules

5 years agomake session cookies http only
Paul Hänsch [Sun, 18 Nov 2018 19:47:10 +0000 (20:47 +0100)]
make session cookies http only

5 years agofunctions for logging and session handling
Paul Hänsch [Sun, 18 Nov 2018 19:30:00 +0000 (20:30 +0100)]
functions for logging and session handling

5 years agoMerge branch 'master' of git.plutz.net:cgilite
Paul Hänsch [Mon, 12 Nov 2018 01:38:30 +0000 (02:38 +0100)]
Merge branch 'master' of git.plutz.net:cgilite

5 years agobugfix: allow GET/POST values starting with - (dash)
Paul Hänsch [Mon, 12 Nov 2018 01:38:08 +0000 (02:38 +0100)]
bugfix: allow GET/POST values starting with - (dash)

5 years agobugfix: header assembly with $BR variable set correctly
Paul Hänsch [Sat, 11 Aug 2018 12:35:30 +0000 (14:35 +0200)]
bugfix: header assembly with $BR variable set correctly

5 years agoindependence from GNU `sed`, set CR and BR without forking subshell
Paul Hänsch [Thu, 2 Aug 2018 11:51:17 +0000 (13:51 +0200)]
independence from GNU `sed`, set CR and BR without forking subshell

5 years agoallow override of file type
Paul Hänsch [Sun, 22 Jul 2018 13:26:41 +0000 (15:26 +0200)]
allow override of file type

5 years agobugfix: pipeline use for STRING()
Paul Hänsch [Wed, 18 Jul 2018 14:28:40 +0000 (16:28 +0200)]
bugfix: pipeline use for STRING()

5 years agohuge speed gain for GET() and POST()
Paul Hänsch [Wed, 18 Jul 2018 02:31:33 +0000 (04:31 +0200)]
huge speed gain for GET() and POST()

5 years agodual use string functions (argument and pipe), make scripts of sed based functions...
Paul Hänsch [Tue, 17 Jul 2018 20:04:02 +0000 (22:04 +0200)]
dual use string functions (argument and pipe), make scripts of sed based functions available in variable

5 years agoslight simplicity/speed regain in URL()
Paul Hänsch [Tue, 17 Jul 2018 01:31:37 +0000 (03:31 +0200)]
slight simplicity/speed regain in URL()

5 years agokeep / in URL coded path
Paul Hänsch [Tue, 17 Jul 2018 01:24:10 +0000 (03:24 +0200)]
keep / in URL coded path

5 years agostrip multi slash sequences in PATH function
Paul Hänsch [Tue, 17 Jul 2018 01:16:06 +0000 (03:16 +0200)]
strip multi slash sequences in PATH function

5 years agomake "checked" and "selected" keywords interchangeable
Paul Hänsch [Tue, 17 Jul 2018 00:06:10 +0000 (02:06 +0200)]
make "checked" and "selected" keywords interchangeable

5 years agohandlineg of <select multiple>
Paul Hänsch [Mon, 16 Jul 2018 23:24:49 +0000 (01:24 +0200)]
handlineg of <select multiple>

5 years agobigfix: handling of [foo].bar
Paul Hänsch [Mon, 16 Jul 2018 23:22:51 +0000 (01:22 +0200)]
bigfix: handling of [foo].bar

5 years agosupport for "selected" keyword, improved handling of "checked"
Paul Hänsch [Mon, 16 Jul 2018 22:59:51 +0000 (00:59 +0200)]
support for "selected" keyword, improved handling of "checked"

5 years agominor optimisation
Paul Hänsch [Mon, 16 Jul 2018 10:21:13 +0000 (12:21 +0200)]
minor optimisation

5 years agolocalize fucntion variables
Paul Hänsch [Mon, 16 Jul 2018 08:46:38 +0000 (10:46 +0200)]
localize fucntion variables

5 years agofix: PATH function removed all directory parts shorter than two characters (pattern...
Paul Hänsch [Sun, 15 Jul 2018 19:54:36 +0000 (21:54 +0200)]
fix: PATH function removed all directory parts shorter than two characters (pattern .. and . ;-)

5 years agoescape spaces in stored data for easyer use with `read`
Paul Hänsch [Sun, 15 Jul 2018 19:06:28 +0000 (21:06 +0200)]
escape spaces in stored data for easyer use with `read`

5 years agosuppress error message from mkdir
Paul Hänsch [Sun, 15 Jul 2018 15:28:50 +0000 (17:28 +0200)]
suppress error message from mkdir

5 years agobugfix: allow positive return of LOCK()
Paul Hänsch [Sun, 15 Jul 2018 15:25:35 +0000 (17:25 +0200)]
bugfix: allow positive return of LOCK()

5 years agoinclude guards for function libraries
Paul Hänsch [Sun, 15 Jul 2018 14:04:23 +0000 (16:04 +0200)]
include guards for function libraries

5 years agolocking functions
Paul Hänsch [Sun, 15 Jul 2018 12:07:22 +0000 (14:07 +0200)]
locking functions

5 years agounfinished storage engine
Paul Hänsch [Sat, 14 Jul 2018 20:14:39 +0000 (22:14 +0200)]
unfinished storage engine

5 years agotypo
Paul Hänsch [Thu, 5 Jul 2018 15:53:26 +0000 (17:53 +0200)]
typo

5 years agopath cononicalization function (works on non-exist pathes unlike realpath)
Paul Hänsch [Thu, 5 Jul 2018 12:40:11 +0000 (14:40 +0200)]
path cononicalization function (works on non-exist pathes unlike realpath)

5 years agoremove obsolete sed processing of response headers
Paul Hänsch [Wed, 4 Jul 2018 22:20:25 +0000 (00:20 +0200)]
remove obsolete sed processing of response headers

5 years agoyet slightly shorter version + removed debugging
Paul Hänsch [Wed, 4 Jul 2018 22:09:26 +0000 (00:09 +0200)]
yet slightly shorter version + removed debugging

5 years agoshorter version of webserver response builder
Paul Hänsch [Wed, 4 Jul 2018 22:05:58 +0000 (00:05 +0200)]
shorter version of webserver response builder

5 years agoHandle arbitrary status response codes in builtin web server
Paul Hänsch [Wed, 4 Jul 2018 21:39:41 +0000 (23:39 +0200)]
Handle arbitrary status response codes in builtin web server

5 years agocorrect tomestamp format for cookie expiration, empty response for redirect
Paul Hänsch [Wed, 4 Jul 2018 09:48:56 +0000 (11:48 +0200)]
correct tomestamp format for cookie expiration, empty response for redirect

5 years agoState Content-Length in error responses to allow connection reuse
Paul Hänsch [Mon, 2 Jul 2018 15:26:31 +0000 (17:26 +0200)]
State Content-Length in error responses to allow connection reuse

5 years agoenable connection reuse in builtin web server
Paul Hänsch [Mon, 2 Jul 2018 13:15:26 +0000 (15:15 +0200)]
enable connection reuse in builtin web server

5 years agoauto recognize inetd mode, enabling use with busybox nc -ll
Paul Hänsch [Mon, 2 Jul 2018 11:37:46 +0000 (13:37 +0200)]
auto recognize inetd mode, enabling use with busybox nc -ll

5 years agofix builtin header parsing
Paul Hänsch [Mon, 2 Jul 2018 01:04:55 +0000 (03:04 +0200)]
fix builtin header parsing

5 years agotypos
Paul Hänsch [Sun, 1 Jul 2018 21:55:14 +0000 (23:55 +0200)]
typos

5 years agostatic file serving supporting byte-ranges and If-Modified-Since header
Paul Hänsch [Sun, 1 Jul 2018 21:46:16 +0000 (23:46 +0200)]
static file serving supporting byte-ranges and If-Modified-Since header

5 years agounified function for %hex unescaping
Paul Hänsch [Sat, 30 Jun 2018 17:51:19 +0000 (19:51 +0200)]
unified function for %hex unescaping

5 years agoRemove debug lines
Paul Hänsch [Thu, 28 Jun 2018 10:23:56 +0000 (12:23 +0200)]
Remove debug lines

5 years agoUnify header function for use with external web servers
Paul Hänsch [Thu, 28 Jun 2018 10:22:09 +0000 (12:22 +0200)]
Unify header function for use with external web servers

5 years agoforking cgilite into separate project
Paul Hänsch [Thu, 21 Jun 2018 14:00:29 +0000 (16:00 +0200)]
forking cgilite into separate project

5 years agofunction for reading http headers
paul [Thu, 21 Jun 2018 11:37:36 +0000 (11:37 +0000)]
function for reading http headers

svn path=/trunk/; revision=70

5 years agostub support for multiline comments (e.g. css/js embedding)
paul [Sun, 3 Jun 2018 13:09:09 +0000 (13:09 +0000)]
stub support for multiline comments (e.g. css/js embedding)

svn path=/trunk/; revision=69

5 years agoFix for content-length and cookie variables
paul [Sun, 3 Jun 2018 13:08:34 +0000 (13:08 +0000)]
Fix for content-length and cookie variables

svn path=/trunk/; revision=68

5 years agobasic inetd support
paul [Sat, 26 May 2018 15:23:34 +0000 (15:23 +0000)]
basic inetd support

svn path=/trunk/; revision=67

5 years agoshorthand html
paul [Sat, 12 May 2018 23:39:10 +0000 (23:39 +0000)]
shorthand html

svn path=/trunk/; revision=66

6 years agoprevent browsers from caching pages (which are usually generated)
paul [Thu, 5 Apr 2018 12:18:58 +0000 (12:18 +0000)]
prevent browsers from caching pages (which are usually generated)

svn path=/trunk/; revision=65

6 years agodocumentation fo STORE function
paul [Thu, 22 Mar 2018 15:41:39 +0000 (15:41 +0000)]
documentation fo STORE function

svn path=/trunk/; revision=64

6 years agofile handling functions
paul [Thu, 22 Mar 2018 15:22:54 +0000 (15:22 +0000)]
file handling functions

svn path=/trunk/; revision=63

6 years agosend http status code when redirecting
paul [Mon, 12 Mar 2018 12:17:44 +0000 (12:17 +0000)]
send http status code when redirecting

svn path=/trunk/; revision=62

6 years agomake forms available by default
paul [Wed, 21 Feb 2018 15:32:43 +0000 (15:32 +0000)]
make forms available by default

svn path=/trunk/; revision=61

6 years agohelper for writing html forms
paul [Wed, 21 Feb 2018 15:28:44 +0000 (15:28 +0000)]
helper for writing html forms

svn path=/trunk/; revision=60

6 years agowhen redirecting send status code as specified in CGI
paul [Sat, 9 Dec 2017 20:20:16 +0000 (20:20 +0000)]
when redirecting send status code as specified in CGI

svn path=/trunk/; revision=59

6 years agotransform hex to oct for posix compatibility in printf
paul [Thu, 9 Nov 2017 03:35:08 +0000 (03:35 +0000)]
transform hex to oct for posix compatibility in printf

svn path=/trunk/; revision=58

6 years agobugfix: do not expect query strings to start with "?"
paul [Wed, 8 Nov 2017 15:55:43 +0000 (15:55 +0000)]
bugfix: do not expect query strings to start with "?"

svn path=/trunk/; revision=57

6 years agoforce http status code with redirect
paul [Wed, 8 Nov 2017 15:24:05 +0000 (15:24 +0000)]
force http status code with redirect

svn path=/trunk/; revision=56

6 years agoposix collection of cgi functions, additional functions
paul [Tue, 16 May 2017 09:44:38 +0000 (09:44 +0000)]
posix collection of cgi functions, additional functions

svn path=/trunk/; revision=55

6 years agoposix collection of chi functions, initial commit
paul [Mon, 15 May 2017 05:42:01 +0000 (05:42 +0000)]
posix collection of chi functions, initial commit

svn path=/trunk/; revision=54

7 years agocgi conformant 404s
paul [Sun, 19 Mar 2017 19:08:06 +0000 (19:08 +0000)]
cgi conformant 404s

svn path=/trunk/; revision=53

7 years agohonour treeroot variable in file serving
paul [Tue, 17 Jan 2017 13:02:25 +0000 (13:02 +0000)]
honour treeroot variable in file serving

svn path=/trunk/; revision=52

7 years agoperform read test on file, not just permission check
paul [Tue, 17 Jan 2017 12:43:38 +0000 (12:43 +0000)]
perform read test on file, not just permission check

svn path=/trunk/; revision=51

7 years agoquicker (and simpler) validation functions
paul [Sat, 14 Jan 2017 07:05:32 +0000 (07:05 +0000)]
quicker (and simpler) validation functions

svn path=/trunk/; revision=50

7 years agobetter support for atomic chunk output
paul [Mon, 28 Nov 2016 22:20:52 +0000 (22:20 +0000)]
better support for atomic chunk output

svn path=/trunk/; revision=49

7 years agosupport serving of symlinked files
paul [Mon, 28 Nov 2016 18:53:33 +0000 (18:53 +0000)]
support serving of symlinked files

svn path=/trunk/; revision=48

7 years agoexpand PATH before double dot check
paul [Mon, 28 Nov 2016 14:40:06 +0000 (14:40 +0000)]
expand PATH before double dot check

svn path=/trunk/; revision=47

7 years agoallow ./-_ in urlsafe function
paul [Mon, 28 Nov 2016 14:39:18 +0000 (14:39 +0000)]
allow ./-_ in urlsafe function

svn path=/trunk/; revision=46

7 years agorudimantary support for byte ranges
paul [Sat, 26 Nov 2016 16:16:49 +0000 (16:16 +0000)]
rudimantary support for byte ranges

svn path=/trunk/; revision=45

7 years agoalways include debug functions, conditional handler selection
paul [Sat, 26 Nov 2016 16:16:15 +0000 (16:16 +0000)]
always include debug functions, conditional handler selection

svn path=/trunk/; revision=44

7 years agofill REQUEST_URI variable
paul [Thu, 24 Nov 2016 14:36:46 +0000 (14:36 +0000)]
fill REQUEST_URI variable

svn path=/trunk/; revision=43

7 years ago16bit linefeeds as specified in RFC
paul [Thu, 24 Nov 2016 14:35:59 +0000 (14:35 +0000)]
16bit linefeeds as specified in RFC

svn path=/trunk/; revision=42

7 years agouse proper cgi for response headers, switch cache machanism to timestamps
paul [Wed, 9 Nov 2016 15:34:27 +0000 (15:34 +0000)]
use proper cgi for response headers, switch cache machanism to timestamps

svn path=/trunk/; revision=41

7 years agoaccount for Different CGI variable naming in apache
paul [Tue, 8 Nov 2016 17:28:44 +0000 (17:28 +0000)]
account for Different CGI variable naming in apache

svn path=/trunk/; revision=40

7 years agoconform to standard by sending cache information with 304 response
paul [Tue, 8 Nov 2016 13:47:08 +0000 (13:47 +0000)]
conform to standard by sending cache information with 304 response

svn path=/trunk/; revision=39

7 years agoBugfix: keep last post element without appending empty element
paul [Tue, 11 Oct 2016 15:19:53 +0000 (15:19 +0000)]
Bugfix: keep last post element without appending empty element

svn path=/trunk/; revision=38

7 years agoBugfix: last post element was omitted due to recent changes
paul [Mon, 10 Oct 2016 12:48:41 +0000 (12:48 +0000)]
Bugfix: last post element was omitted due to recent changes

svn path=/trunk/; revision=37

7 years agoin server mode: serve static files from data dir
paul [Mon, 10 Oct 2016 12:04:45 +0000 (12:04 +0000)]
in server mode: serve static files from data dir

svn path=/trunk/; revision=36

7 years agoexternalize stabndalone server mode into file
paul [Thu, 6 Oct 2016 21:29:30 +0000 (21:29 +0000)]
externalize stabndalone server mode into file

svn path=/trunk/; revision=35

7 years agouse CRLF line breaks
paul [Thu, 6 Oct 2016 21:28:16 +0000 (21:28 +0000)]
use CRLF line breaks

svn path=/trunk/; revision=34

7 years agolimit stdin consumption to content length
paul [Thu, 6 Oct 2016 21:24:06 +0000 (21:24 +0000)]
limit stdin consumption to content length

svn path=/trunk/; revision=33

7 years agointrodue standalone capabilities
paul [Sun, 2 Oct 2016 00:34:38 +0000 (00:34 +0000)]
introdue standalone capabilities

svn path=/trunk/; revision=32

7 years agoadd line break variable
paul [Sat, 18 Jun 2016 16:31:44 +0000 (16:31 +0000)]
add line break variable

svn path=/trunk/; revision=31

7 years agoallow pages to insert http headers
paul [Wed, 11 May 2016 12:42:45 +0000 (12:42 +0000)]
allow pages to insert http headers

svn path=/trunk/; revision=30

7 years agofollow OWASP recommendation for html escapes
paul [Sun, 1 May 2016 23:11:56 +0000 (23:11 +0000)]
follow OWASP recommendation for html escapes

svn path=/trunk/; revision=29

8 years agoprevent double escaping of &amp; in htmlsafe
paul [Fri, 15 Apr 2016 11:07:39 +0000 (11:07 +0000)]
prevent double escaping of &amp; in htmlsafe

svn path=/trunk/; revision=28

8 years agoallow overriding file magic
paul [Wed, 13 Apr 2016 11:11:05 +0000 (11:11 +0000)]
allow overriding file magic

svn path=/trunk/; revision=27

8 years agochange precedence in processing static, action, and page
paul [Wed, 13 Apr 2016 10:48:11 +0000 (10:48 +0000)]
change precedence in processing static, action, and page

svn path=/trunk/; revision=26