You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for the bug report, this is definitely due to a bad handling of the urlencoded strings.
I'm gonna fix it.
Note that it also affects gp-json-rest.
(since Go 1.1?)
calls to rest.Route or rest.RouteObjectMethod fail for *splat routes
rest.RouteObjectMethod("GET", "/users/*username", users, "GetUser")
problem is in the trie package:
token is arriving in urlencoded format so '*' is replaced with '%2A' and else if condition fails; does not affect :id parameters
The text was updated successfully, but these errors were encountered: