terminate regular expression in match condition

This commit is contained in:
Steven Polley 2020-05-29 21:59:47 -06:00
parent 85dacbe2de
commit 4c4fba7609

View File

@ -43,7 +43,7 @@ func config(redirects []Redirect) error {
fmt.Println("config match-condition")
fmt.Println("edit 0")
fmt.Println("set object http-url")
fmt.Printf("set reg-exp %s\n", sourceURL.Path)
fmt.Printf("set reg-exp %s$\n", sourceURL.Path)
fmt.Println("set protocol-filter enable")
fmt.Printf("set HTTP-protocol %s\n", sourceURL.Scheme)
fmt.Println("next")