routewatch/internal/server
sneak df31cf880a Fix prefix URL routing by using URL encoding
- Replace slash-to-dash conversion with proper URL encoding
- Update handlePrefixDetail and handlePrefixDetailJSON to URL decode prefix parameter
- Update handleIPRedirect to URL encode the prefix in the redirect
- Add urlEncode template function for use in templates
- Update AS detail template to URL encode prefix links
- This properly handles the slash in CIDR notation (e.g., /prefix/192.168.1.0%2F24)
2025-07-28 04:34:34 +02:00
..
handlers.go Fix prefix URL routing by using URL encoding 2025-07-28 04:34:34 +02:00
middleware.go Add SQL query logging and performance improvements 2025-07-27 22:34:48 +02:00
routes.go Add /ip/<ip> route that redirects to prefix detail page 2025-07-28 04:31:22 +02:00
server.go Refactor server package: split handlers and routes into separate files 2025-07-28 04:00:12 +02:00