mirror of
https://github.com/adnanh/webhook.git
synced 2026-07-26 08:39:17 +08:00
c2ffd465c4
When matching variables in routes, gorilla/mux uses a default pattern of "[^/]+", thereby prohibiting slashes in variable matching. Override the default pattern to remove this restriction. See https://github.com/gorilla/mux/blob/v1.8.0/regexp.go#L50 Fixes #421