Closed coredump closed 10 years ago
This is because Goweb cares about file extensions. So it leaves you with a few options:
PathParam
feature, instead, parse the request path yourselfwhois/10.0.0.1/something
- the value would be the full IP, because Goweb knows the dots aren't part of a file extensionOk thanks, I will proceed parsing the path myself.
When using dotted urls, like for example:
http://host/whois/10.0.0.1
and capturing it with a
Map("/whois/{ip}...")
the captured variable only gets the first part, ignoring anything after the first dot.