summaryrefslogtreecommitdiffstats
path: root/usr.sbin/httpd/patterns.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* httpd patterns double freesemarie2016-02-141-2/+3
| | | | | | issue and diff from Alexander Schrijver alex at flupzor nl ok reyk@
* str_match() checked the return value of str_find_aux() incorrectly: itreyk2015-08-181-3/+3
| | | | | | | | | might return a negative number; the return value of match_error() which returns (-1). This was technically a bug, and it exists in 5.8, but there is no impact because the error is correctly catched with the returned non-NULL error string. Found by Leandro Pereira
* Corrects some minors nits. Patch from Theo Buehler.semarie2015-06-261-6/+6
| | | | | | | | | - cleanup in included headers (removing unsed assert.h, and reorder) - one remaining '%%' in an error string corrected in '%' while here, add sys/types.h for off_t type. OK reyk@
* remove a deprecated character class.semarie2015-06-231-5/+2
| | | | | | | it was deprecated in lua code, but here the code is new. The documentation don't mention it either. ok reyk@
* Add initial support for pattern matching using Lua's pattern matching code.reyk2015-06-231-0/+715
With important help on the pattern matcher from semarie@ OK semarie@