caddy/caddyhttp/httpserver
Sawood Alam 04bee0f36d Implementing custom PathClean function to allow masking, closes #1298 (#1317)
* Added path cleanup functions with masking to preserve certain patterns + unit tests, #1298

* Use custom PathClean function instead of path.Clean to apply masks to preserve protocol separator in the path

* Indentation corrected in the test data map to pass the lint

* Fixing ineffassign of a temporary string variable

* Improved variable naming and documentation

* Improved variable naming

* Added benchmarks and improved variable naming in tests

* Removed unnecessary value capture when iterating over a map for keys

* A typo correction
2016-12-31 20:29:14 -07:00
..
condition_test.go Fix misspellings 2016-09-05 10:20:34 -06:00
condition.go minor condition keyword check refactor 2016-07-21 15:42:38 +01:00
context_test.go Ensure some tests remove temporary directories they created 2016-11-28 22:26:54 -07:00
context.go templates: Add arguments to .Include 2016-11-20 21:40:06 -07:00
error.go add more descriptive errors 2016-10-11 10:34:51 +08:00
graceful.go Rewrote Caddy from the ground up; initial commit of 0.9 branch 2016-06-04 17:00:29 -06:00
https_test.go Rewrote Caddy from the ground up; initial commit of 0.9 branch 2016-06-04 17:00:29 -06:00
https.go Clean up some significant portions of the TLS management code 2016-09-14 22:30:49 -06:00
middleware_test.go Rewrote Caddy from the ground up; initial commit of 0.9 branch 2016-06-04 17:00:29 -06:00
middleware.go Clarify godoc for HTTP handler signature 2016-08-25 17:13:49 -06:00
path.go Proposal: Middleware Config (#908) 2016-07-08 18:12:52 -06:00
pathcleaner_test.go Implementing custom PathClean function to allow masking, closes #1298 (#1317) 2016-12-31 20:29:14 -07:00
pathcleaner.go Implementing custom PathClean function to allow masking, closes #1298 (#1317) 2016-12-31 20:29:14 -07:00
plugin_test.go Add tests for case insensitivity of keys and saving contexts 2016-09-24 13:24:33 -06:00
plugin.go Add maxrequestbody directive (#1163) 2016-11-04 08:25:49 +08:00
recorder_test.go Rewrote Caddy from the ground up; initial commit of 0.9 branch 2016-06-04 17:00:29 -06:00
recorder.go add more descriptive errors 2016-10-11 10:34:51 +08:00
replacer_test.go Add new placeholder for latency in milliseconds 2016-10-05 21:06:15 -07:00
replacer.go Add maxrequestbody directive (#1163) 2016-11-04 08:25:49 +08:00
roller.go Rewrote Caddy from the ground up; initial commit of 0.9 branch 2016-06-04 17:00:29 -06:00
server_test.go Rewrote Caddy from the ground up; initial commit of 0.9 branch 2016-06-04 17:00:29 -06:00
server.go Implementing custom PathClean function to allow masking, closes #1298 (#1317) 2016-12-31 20:29:14 -07:00
siteconfig.go Add maxrequestbody directive (#1163) 2016-11-04 08:25:49 +08:00
vhosttrie_test.go Rewrote Caddy from the ground up; initial commit of 0.9 branch 2016-06-04 17:00:29 -06:00
vhosttrie.go Don't treat localhost specially when assigning bind address 2016-06-27 13:14:28 -06:00