summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@sullrich-MacBookPro.local>2009-04-03 17:09:21 -0400
committerScott Ullrich <sullrich@sullrich-MacBookPro.local>2009-04-03 17:09:21 -0400
commite2b6dd911509e3cd772b0bcef7d31be4ecfc1d2f (patch)
tree45c186907168366a15552ef2d65426d7caa00285 /etc
parent3ab35d3058f0b8fee49021bb895eba34b795da29 (diff)
downloadpfsense-e2b6dd911509e3cd772b0bcef7d31be4ecfc1d2f.zip
pfsense-e2b6dd911509e3cd772b0bcef7d31be4ecfc1d2f.tar.gz
Detect .git URL's too.
Diffstat (limited to 'etc')
-rw-r--r--etc/phpshellsessions/cvssync6
1 files changed, 4 insertions, 2 deletions
diff --git a/etc/phpshellsessions/cvssync b/etc/phpshellsessions/cvssync
index cbcfba5..eadc593 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;
}
OpenPOWER on IntegriCloud