bsed / gorilla

Automatically exported from code.google.com/p/gorilla
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

mux.Route build url error #44

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago

What steps will reproduce the problem?
1. Register a handler with a name
2. Try to get URL by execution a fucntion mux.Route.URL(pairs...). A param must 
contain "/" character.

What is the expected output? What do you see instead?
Function must return an url.
Function return an error 
mux: variable "JavaScript/Java" doesn't match, expected "^[^/]+$"

Original issue reported on code.google.com by hashcode...@gmail.com on 3 May 2012 at 3:40

GoogleCodeExporter commented 9 years ago
I think, the best way to escape non html characters in the string.

Original comment by hashcode...@gmail.com on 3 May 2012 at 3:46