caddy/modules/caddyhttp/rewrite
Matthew Holt 07ad4655db
rewrite: Make URI modifications more transactional (#2891)
Before, modifying the path might have affected how a new query string
was built if the query string relied on the path. Now, we build each
component in isolation and only change the URI on the request later.

Also, prevent trailing & in query string.
2020-01-15 11:44:21 -07:00
..
caddyfile.go http: A little more polish on rewrite handler and try_files directive 2020-01-11 13:47:42 -07:00
rewrite_test.go rewrite: Make URI modifications more transactional (#2891) 2020-01-15 11:44:21 -07:00
rewrite.go rewrite: Make URI modifications more transactional (#2891) 2020-01-15 11:44:21 -07:00