Hello,

I noticed if you set up a route like /something/{id}/{$}, it results in an 
infinite loop if I navigate to /someting/ (with the trailing slash). I got 
a redirect to Location: /something/, and so on. Finally the page breaks 
after multiple rounds.

Example:
mux := http.NewServeMux()
mux.HandleFunc("/something/{id}/{$}", func...))

Should I raise and issue or am I doing something wrong here?

Thanks,
Peter

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/a0126c12-9f79-4ad7-9352-18a3a03e5570n%40googlegroups.com.

Reply via email to