Closed Nican closed 11 years ago
Yes - this is fixed in Goweb 2 (the v2 branch) but its not 100% ready. Meanwhile, be more specific first (I.e switch them around)
Sent from my iPhone
On 5 May 2013, at 06:30, Nican notifications@github.com wrote:
I am having an issue such that MapFunc is matching anything with the sub string of the path. For example:
goweb.MapFunc("/a", serverA) goweb.MapFunc("/nota", serverB) And any page containing "a" will call serverA, including "localhost:8080/nota", and for example, "localhost:8080/ishouldbe404a" is also calling serveA.
— Reply to this email directly or view it on GitHub.
UPDATE: Goweb 2 is ready... and your code will work properly if you use it.
This is fixed in Goweb 2
I am having an issue such that MapFunc is matching anything with the sub string of the path. For example:
And any page containing "a" will call serverA, including "localhost:8080/nota", and for example, "localhost:8080/ishouldbe404a" is also calling serveA.