caddy/caddyhttp/httpserver
Matthew Fay f1eaae9b0d httpserver: Rework Replacer loop to ignore escaped braces (#2075)
* httpserver.Replacer: Rework loop to ignore escaped placeholder braces

* Fix typo and ineffectual assignment to ret

* Remove redundant idxOffset declaration, simplify escape check

* Add benchmark tests for new Replacer code
2018-03-18 20:42:43 -06:00
..
condition_test.go Apply Apache license to all .go source files (closes #1865) 2017-09-22 23:56:58 -06:00
condition.go redir: Do not count multiple rules with if statements as duplicates 2017-09-28 11:41:11 -06:00
error.go Apply Apache license to all .go source files (closes #1865) 2017-09-22 23:56:58 -06:00
https_test.go tls: In HTTP->HTTPS redirects, preserve redir port in some circumstances 2018-02-16 12:36:28 -07:00
https.go tls: In HTTP->HTTPS redirects, preserve redir port in some circumstances 2018-02-16 12:36:28 -07:00
logger_test.go Apply Apache license to all .go source files (closes #1865) 2017-09-22 23:56:58 -06:00
logger.go Allow Masking of IP address in Logfile. (#1930) 2017-12-23 10:52:11 +00:00
middleware_test.go Change CASE_SENSITIVE_PATH default to false 2017-10-08 22:19:35 -06:00
middleware.go httpserver: give each req context a Replacer that preserves custom values (#1937) 2017-11-07 10:10:03 -07:00
mitm_test.go Apply Apache license to all .go source files (closes #1865) 2017-09-22 23:56:58 -06:00
mitm.go Apply Apache license to all .go source files (closes #1865) 2017-09-22 23:56:58 -06:00
path_test.go Apply Apache license to all .go source files (closes #1865) 2017-09-22 23:56:58 -06:00
path.go Apply Apache license to all .go source files (closes #1865) 2017-09-22 23:56:58 -06:00
plugin_test.go httpserver: Raise error when adjusted site addresses clash at startup 2018-02-15 00:04:31 -07:00
plugin.go httpserver: Add geoip directive (closes #1819) (#2066) 2018-03-15 07:30:25 -06:00
recorder_test.go Apply Apache license to all .go source files (closes #1865) 2017-09-22 23:56:58 -06:00
recorder.go ResponseBuffer: add missing header writing (#1997) 2018-01-15 18:32:19 -07:00
replacer_test.go httpserver: Rework Replacer loop to ignore escaped braces (#2075) 2018-03-18 20:42:43 -06:00
replacer.go httpserver: Rework Replacer loop to ignore escaped braces (#2075) 2018-03-18 20:42:43 -06:00
responsewriterwrapper.go Apply Apache license to all .go source files (closes #1865) 2017-09-22 23:56:58 -06:00
roller.go Apply Apache license to all .go source files (closes #1865) 2017-09-22 23:56:58 -06:00
server_test.go httpserver: Fix #2038 (query string being lost from URI) (#2039) 2018-03-17 17:17:42 -06:00
server.go httpserver: Fix #2038 (query string being lost from URI) (#2039) 2018-03-17 17:17:42 -06:00
siteconfig.go Implement per-site index (#1906) 2017-10-29 21:13:10 +00:00
tplcontext_test.go Apply Apache license to all .go source files (closes #1865) 2017-09-22 23:56:58 -06:00
tplcontext.go Apply Apache license to all .go source files (closes #1865) 2017-09-22 23:56:58 -06:00
vhosttrie_test.go Apply Apache license to all .go source files (closes #1865) 2017-09-22 23:56:58 -06:00
vhosttrie.go Apply Apache license to all .go source files (closes #1865) 2017-09-22 23:56:58 -06:00