Changeset 407 for dev/cron

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

Feed syndication supports http password protected sites (by Icebreaker)

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • dev/cron/cron_fetcher.php

    r400 r407  
    3030$config = new Config(KB_SITE); 
    3131 
    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"; 
    3333 
    3434// load the config from the database