Skip to content

Commit

Permalink
Remove path from connect events dst addr. Fixes #2624
Browse files Browse the repository at this point in the history
  • Loading branch information
plorenz committed Jan 9, 2025
1 parent 7b4ca1d commit b1e5a3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controller/env/appenv.go
Original file line number Diff line number Diff line change
Expand Up @@ -1111,7 +1111,7 @@ func (ae *AppEnv) IsAllowed(responderFunc func(ae *AppEnv, rc *response.RequestC
SrcId: rc.ApiSession.IdentityId,
SrcAddr: rc.Request.RemoteAddr,
DstId: ae.HostController.GetNetwork().GetAppId(),
DstAddr: rc.Request.Host + rc.Request.RequestURI,
DstAddr: rc.Request.Host,
Timestamp: time.Now(),
}
ae.GetEventDispatcher().AcceptConnectEvent(connectEvent)
Expand Down

0 comments on commit b1e5a3e

Please sign in to comment.