From e2b6dd911509e3cd772b0bcef7d31be4ecfc1d2f Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Fri, 3 Apr 2009 17:09:21 -0400 Subject: [PATCH] Detect .git URL's too. --- etc/phpshellsessions/cvssync | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/etc/phpshellsessions/cvssync b/etc/phpshellsessions/cvssync index cbcfba5476..eadc593b72 100644 --- a/etc/phpshellsessions/cvssync +++ b/etc/phpshellsessions/cvssync @@ -211,8 +211,10 @@ function post_cvssync_commands() { function isUrl($url = "") { if($url) - if(strstr($url, "rcs.pfsense.org") or strstr($url, "mainline")) - return true; + if(strstr($url, "rcs.pfsense.org") or + strstr($url, "mainline") or + strstr($url, ".git")) + return true; return false; }