Show
Ignore:
Timestamp:
07/09/09 05:13:23 (13 years ago)
Author:
kovell
Message:

Feed syndication supports http password protected sites (by Icebreaker)

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • dev/common/admin/admin_feedsyndication.php

    r390 r407  
    1919$page->setCachable(false); 
    2020$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"; 
    2322$html .= "<script language=\"JavaScript\">function checkAll(checkname, exby) {for (i = 0; i < checkname.length; i++)checkname[i].checked = exby.checked? true:false}</script>"; 
    2423$html .= "<table class=kb-subtable>";