Glenn Strauss
c193da3404
[core] split cond cache from cond matches
2020-07-08 18:08:52 -04:00
Glenn Strauss
63a6e52ce4
[core] store addtl data in pcre_keyvalue_buffer
...
reduce pointer chasing in keyvalue.c
mark keyvalue.h config routines as cold
2020-07-08 18:08:51 -04:00
Glenn Strauss
37900d24b3
[mod_redirect,mod_rewrite] pass request URI info
2018-08-12 14:43:22 -04:00
Glenn Strauss
3eb7902e10
[core] server.http-parseopts URL normalization opt ( fixes #1720 )
...
server.http-parseopts = ( ... ) URL normalization options
Note: *not applied* to CONNECT method
Note: In a future release, URL normalization likely enabled by default
(normalize URL, reject control chars, remove . and .. path segments)
To prepare for this change, lighttpd.conf configurations should
explicitly select desired behavior by enabling or disabling:
server.http-parseopts = ( "url-normalize" => "enable", ... )
server.http-parseopts = ( "url-normalize" => "disable" )
x-ref:
"lighttpd ... compares URIs to patterns in the (1) url.redirect and (2) url.rewrite configuration settings before performing URL decoding, which might allow remote attackers to bypass intended access restrictions, and obtain sensitive information or possibly modify data."
https://www.cvedetails.com/cve/CVE-2008-4359/
"Rewrite/redirect rules and URL encoding"
https://redmine.lighttpd.net/issues/1720
2018-08-12 14:43:22 -04:00
Glenn Strauss
c56b21084e
[core] http_kv.[ch] method, status, version str
...
move method, status, version strings from keyvalue.[ch] to http_kv.[ch]
2018-08-05 03:44:15 -04:00
Glenn Strauss
cf9474aa2c
[mod_redirect, mod_rewrite] code reuse (sharing)
2018-08-05 03:44:15 -04:00
Glenn Strauss
04d76e7afd
[core] some header cleanup
...
provide standard types in first.h instead of base.h
provide lighttpd types in base_decls.h instead of settings.h
reduce headers exposed by headers for core data structures
do not expose <pcre.h> or <stdlib.h> in headers
move stat_cache_entry to stat_cache.h
reduce use of "server.h" and "base.h" in headers
2018-04-08 22:22:23 -04:00
Glenn Strauss
cb371557e5
[core] merge redirect/rewrite pattern substitution
...
merge redirect/rewrite pattern substitution function (share code)
2018-01-10 01:39:05 -05:00
Glenn Strauss
f3437fb2f2
[core] add const to reduce .data segment size
2017-07-15 22:42:15 -04:00
Glenn Strauss
8abd06a7ff
consistent inclusion of config.h at top of files ( fixes #2073 )
...
From: Glenn Strauss <gstrauss@gluelogic.com>
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@3113 152afb58-edef-0310-8abb-c4023f1b3aa9
2016-03-19 15:14:35 +00:00
Stefan Bühler
107f40545c
cleanup dead keyvalue code
...
From: Stefan Bühler <stbuehler@web.de>
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@3073 152afb58-edef-0310-8abb-c4023f1b3aa9
2016-01-30 13:59:10 +00:00
Stefan Bühler
3df2ec9248
[core] recognize more http methods to forward to backends ( fixes #2346 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2883 152afb58-edef-0310-8abb-c4023f1b3aa9
2013-06-29 10:53:24 +00:00
Stefan Bühler
d4d1ff36aa
add PATCH method ( fixes #2424 )
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2852 152afb58-edef-0310-8abb-c4023f1b3aa9
2012-11-07 13:53:00 +00:00
Stefan Bühler
38f2d1ddd7
cleanup fdevent code, removed linux-rtsig handler, replaced some fprintf calls
...
* use log functions
* convert flags
* fix handler callback prototype
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2752 152afb58-edef-0310-8abb-c4023f1b3aa9
2010-08-06 21:57:15 +00:00
Stefan Bühler
22e8b456a9
Fix header inclusion order, always include "config.h" before any system header
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2624 152afb58-edef-0310-8abb-c4023f1b3aa9
2009-10-11 14:31:42 +00:00
Marcus Rückert
8cd1471cb3
- white space cleanup part 2 this time 1.4 ;)
...
i hope it helps with merging stuff back to 1.5
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1371 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-10-04 13:26:23 +00:00
Jan Kneschke
b268e163af
added the WebDAV, class 2 methods (darix)
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@1012 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-03-02 14:08:28 +00:00
Jan Kneschke
28e5c53a97
get known to the CONNECT method
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@945 152afb58-edef-0310-8abb-c4023f1b3aa9
2006-01-14 08:15:10 +00:00
Jan Kneschke
b4d9d061c8
either remove include config.h or covered it in HAVE_CONFIG_H
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@733 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-24 12:06:04 +00:00
Jan Kneschke
0d8585137f
added the rest of the DeltaV methods
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@719 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-20 15:45:10 +00:00
Jan Kneschke
4b025512d8
added REPORT for webdav/svn
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@717 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-09-20 07:18:40 +00:00
Jan Kneschke
163c25a2a9
added MOVE, COPY, PROPPATCH and nearly complete PROPFIND (Level 1-3 of litmus passed)
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@593 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-20 19:10:44 +00:00
Jan Kneschke
0c5e2bbf41
added WebDAV methods and statuscodes
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@537 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-15 09:50:04 +00:00
Jan Kneschke
75c3a8393a
added include_shell option to configfiles (merged the rest of the trunk changesets)
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@530 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-08-09 06:42:33 +00:00
Jan Kneschke
ffcc939e1b
Added OPTIONS support
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.3.x@467 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-07-21 20:59:30 +00:00
Jan Kneschke
bcdc6a3bbc
moved everything below trunk/ and added branches/ and tags/
...
git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@30 152afb58-edef-0310-8abb-c4023f1b3aa9
2005-02-20 14:27:00 +00:00