WH01243 před 1 rokem
rodič
revize
cbfeca28b0
1 změnil soubory, kde provedl 0 přidání a 1 odebrání
  1. 0 1
      core/router/manager.go

+ 0 - 1
core/router/manager.go

@@ -88,7 +88,6 @@ func (m *Manager) InfusionContext(r *ghttp.Request) (err error) {
 	var GCtx = &GContext{
 		RouterRule: &Router{},
 	}
-	r.URL.Path = fmt.Sprintf("%s/", r.URL.Path)
 	router, err = m.GetRouterRule(r.URL.Path)
 	if err != nil {
 		r.SetCtxVar(GContextKey, GCtx)