Merge 'v1.3.5'
This commit is contained in:
commit
d456c2ce6a
23 changed files with 1833 additions and 138 deletions
|
@ -16,5 +16,6 @@ type ReplacePath struct {
|
|||
func (s *ReplacePath) ServeHTTP(w http.ResponseWriter, r *http.Request) {
|
||||
r.Header.Add(ReplacedPathHeader, r.URL.Path)
|
||||
r.URL.Path = s.Path
|
||||
r.RequestURI = r.URL.RequestURI()
|
||||
s.Handler.ServeHTTP(w, r)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue