diff --git a/internal/api/security/useragentblock.go b/internal/api/security/useragentblock.go index 82d65742a..1498d441b 100644 --- a/internal/api/security/useragentblock.go +++ b/internal/api/security/useragentblock.go @@ -20,7 +20,6 @@ package security import ( "net/http" - "strings" "github.com/gin-gonic/gin" "github.com/sirupsen/logrus" @@ -38,10 +37,4 @@ func (m *Module) UserAgentBlock(c *gin.Context) { c.AbortWithStatus(http.StatusTeapot) return } - - if strings.Contains(strings.ToLower(ua), strings.ToLower("friendica")) { - l.Debugf("aborting request with user-agent %s because it contains 'friendica'", ua) - c.AbortWithStatus(http.StatusTeapot) - return - } }