caddy/caddyhttp/rewrite
Toby Allen cfe52084aa Fix issue #1346 {path} logging {uri} and add {rewrite_uri} placeholder (#1481)
* Fixed issue with {path} actually {uri}

* Test added for path rewrite

* add in uri_escaped

* added rewrite_uri and test

* fix broken test.  Just checks for existance of rewrite header

* gitignore

* Use context to store uri value

* ignore .vscode

* tidy up, removal of comments and invalidated tests

* Remove commented out code.

* added comment as requested by lint

* fixed spelling mistake

* clarified code with variable name

* added context for uri and test

* added TODO comment to move consts
2017-03-11 14:59:47 -07:00
..
testdata Migrating more middleware packages 2016-06-05 21:51:56 -06:00
rewrite_test.go Introduce new Replacer fields {rewrite_path}, {rewrite_path_escaped}; issue #1185 (#1364) 2017-01-23 22:15:27 -07:00
rewrite.go Fix issue #1346 {path} logging {uri} and add {rewrite_uri} placeholder (#1481) 2017-03-11 14:59:47 -07:00
setup_test.go Add 'status' middleware instead of 'status' directive for 'rewrite' middleware 2016-08-29 17:17:23 +03:00
setup.go Add 'status' middleware instead of 'status' directive for 'rewrite' middleware 2016-08-29 17:17:23 +03:00
to_test.go Introduce new Replacer fields {rewrite_path}, {rewrite_path_escaped}; issue #1185 (#1364) 2017-01-23 22:15:27 -07:00
to.go Fix issue #1346 {path} logging {uri} and add {rewrite_uri} placeholder (#1481) 2017-03-11 14:59:47 -07:00