Change route from wildcard /prefix/* to explicit /prefix/{prefix}/{len}
to properly handle URL-encoded IPv6 addresses with CIDR notation.
- Separate prefix and length into individual path parameters
- Add prefixURL template function for generating correct links
- Remove url.QueryUnescape from handlers (chi handles decoding)
|
||
|---|---|---|
| .. | ||
| handlers.go | ||
| middleware.go | ||
| routes.go | ||
| server.go | ||