]> git.plutz.net Git - cgilite/log
cgilite
4 years agotry reading session key from post before trying cookie
Paul Hänsch [Wed, 4 Nov 2020 12:06:36 +0000 (13:06 +0100)]
try reading session key from post before trying cookie

4 years agoescape CR and TAB in URLs
Paul Hänsch [Wed, 30 Sep 2020 08:32:35 +0000 (10:32 +0200)]
escape CR and TAB in URLs

4 years agoavoid confusion regarding carriage return when escaping HTML (especially in textarea)
Paul Hänsch [Mon, 7 Sep 2020 01:51:22 +0000 (03:51 +0200)]
avoid confusion regarding carriage return when escaping HTML (especially in textarea)

4 years agorudimentary debug function
Paul Hänsch [Wed, 24 Jun 2020 10:02:33 +0000 (12:02 +0200)]
rudimentary debug function

4 years agomore escapes for use in html-sh and HTTP headers
Paul Hänsch [Tue, 9 Jun 2020 18:11:26 +0000 (20:11 +0200)]
more escapes for use in html-sh and HTTP headers

4 years agolimit escaping to necessary characters, more readable output, much faster escaping...
Paul Hänsch [Mon, 8 Jun 2020 13:36:40 +0000 (15:36 +0200)]
limit escaping to necessary characters, more readable output, much faster escaping functions

4 years agobugfix: allow empty query string
Paul Hänsch [Wed, 3 Jun 2020 09:14:32 +0000 (11:14 +0200)]
bugfix: allow empty query string

4 years agoimproved handling of Connection header
Paul Hänsch [Tue, 2 Jun 2020 22:55:25 +0000 (00:55 +0200)]
improved handling of Connection header

4 years agoquicker path sanitizing
Paul Hänsch [Tue, 2 Jun 2020 18:00:04 +0000 (20:00 +0200)]
quicker path sanitizing

4 years agosanitizing and security
Paul Hänsch [Tue, 2 Jun 2020 02:49:55 +0000 (04:49 +0200)]
sanitizing and security

4 years agoupdated copyright line
Paul Hänsch [Wed, 27 May 2020 02:30:15 +0000 (04:30 +0200)]
updated copyright line

4 years agospeed improvements
Paul Hänsch [Wed, 27 May 2020 02:10:20 +0000 (04:10 +0200)]
speed improvements

4 years agoallow empty script headers
Paul Hänsch [Tue, 26 May 2020 23:12:29 +0000 (01:12 +0200)]
allow empty script headers

4 years agobugfix, STRING and UNSTRING input like "foo[bar]"
Paul Hänsch [Wed, 29 Jan 2020 18:03:50 +0000 (19:03 +0100)]
bugfix, STRING and UNSTRING input like "foo[bar]"

4 years agofaster STRING and UNSTRING functions
Paul Hänsch [Wed, 29 Jan 2020 17:22:44 +0000 (18:22 +0100)]
faster STRING and UNSTRING functions

4 years agodot termination done right (fix bug from last commit)
Paul Hänsch [Tue, 10 Dec 2019 00:12:50 +0000 (01:12 +0100)]
dot termination done right (fix bug from last commit)

4 years agointroduce . as stop sign to prevent parsing text as attributes
Paul Hänsch [Mon, 9 Dec 2019 23:41:48 +0000 (00:41 +0100)]
introduce . as stop sign to prevent parsing text as attributes

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

5 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

5 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

5 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

5 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

6 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

6 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

6 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

6 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

6 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

6 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)

6 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

6 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

6 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

6 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()

6 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()

6 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

6 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()

6 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

6 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

6 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

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

6 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

6 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"

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

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

6 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 . ;-)

6 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`

6 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

6 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()

6 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

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

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

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

6 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)

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

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

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

6 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

6 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

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

6 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

6 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

6 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

6 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

6 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

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

svn path=/trunk/; revision=67

6 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

7 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

7 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

7 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

7 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

7 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