Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
frontend: better clone_url matching on webhooks
Previously we just dropped ".git" suffix from git_cloneurl before comparison, but not the trailing slashes. We also did just 'rstrip(".git")', which would also remove strings like "tig.git", potentially leading false-positive matches. Fixes: #2772
- Loading branch information