Changeset 407
- Timestamp:
- 07/09/09 05:13:23 (14 years ago)
- Location:
- dev
- Files:
-
- 4 modified
Legend:
- Unmodified
- Added
- Removed
-
dev/common/admin/admin_feedsyndication.php
r390 r407 19 19 $page->setCachable(false); 20 20 $page->setAdmin(); 21 22 $validurl = "/^(http|https):\/\/[a-z0-9]+([\-\.]{1}[a-z0-9]+)*\.[a-z]{2,5}((:[0-9]{1,5})?\/.*)?$/i"; 21 $validurl = "/^(http|https):\/\/([A-Za-z0-9_]{1,8}(:[A-Za-z0-9_]{1,8})?@)?[a-z0-9]+([\-\.]{1}[a-z0-9]+)*\.[a-z]{2,5}((:[0-9]{1,5})?\/.*)?$/i"; 23 22 $html .= "<script language=\"JavaScript\">function checkAll(checkname, exby) {for (i = 0; i < checkname.length; i++)checkname[i].checked = exby.checked? true:false}</script>"; 24 23 $html .= "<table class=kb-subtable>"; -
dev/common/includes/class.http.php
r191 r407 104 104 .'Host: '.$this->url['host'].$lf 105 105 .'Connection: close'.$lf; 106 if (0 &&count($this->url['user']) && count($this->url['pass'])) 107 { 108 $base64 = base64_encode($this->url['user'].':'.$this->url['pass']); 109 $request_string .= 'Authorization: Basic '.$base64.$lf.$lf; 110 } 106 111 if (count($this->headers)) 107 112 { -
dev/common/includes/globals.php
r406 r407 7 7 else 8 8 { 9 $svn_rev = '40 6';9 $svn_rev = '407'; 10 10 } 11 11 define('SVN_REV', $svn_rev); -
dev/cron/cron_fetcher.php
r400 r407 30 30 $config = new Config(KB_SITE); 31 31 32 $validurl = "/^(http|https):\/\/ [a-z0-9]+([\-\.]{1}[a-z0-9]+)*\.[a-z]{2,5}((:[0-9]{1,5})?\/.*)?$/i";32 $validurl = "/^(http|https):\/\/([A-Za-z0-9_]{1,8}(:[A-Za-z0-9_]{1,8})?@)?[a-z0-9]+([\-\.]{1}[a-z0-9]+)*\.[a-z]{2,5}((:[0-9]{1,5})?\/.*)?$/i"; 33 33 34 34 // load the config from the database