terminate regular expression in match condition
This commit is contained in:
parent
85dacbe2de
commit
4c4fba7609
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user