mirror of
https://github.com/astaxie/beego.git
synced 2025-09-16 03:02:09 +00:00
Merge branch 'master' into develop
This commit is contained in:
@@ -603,7 +603,7 @@ func (p *ControllerRegistor) ServeHTTP(rw http.ResponseWriter, r *http.Request)
|
||||
|
||||
if !findrouter {
|
||||
if t, ok := p.routers[r.Method]; ok {
|
||||
runObject, p := t.Match(r.URL.Path)
|
||||
runObject, p := t.Match(strings.ToLower(r.URL.Path))
|
||||
if r, ok := runObject.(*controllerInfo); ok {
|
||||
routerInfo = r
|
||||
findrouter = true
|
||||
|
Reference in New Issue
Block a user