Ignore:
Timestamp:
Jan 29, 2007, 9:08:24 PM (17 years ago)
Author:
rvelices
Message:

bug 623: Char "+" is not supported in gallery URL (the function url_is_remote
should not check if the url is actually valid but only if it starts with http://)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/functions.inc.php

    r1758 r1766  
    727727function url_is_remote($url)
    728728{
    729   if (preg_match('/^https?:\/\/[~\/\.\w-]+$/', $url))
     729  if ( strncmp($url, 'http://', 7)==0
     730    or strncmp($url, 'https://', 8)==0 )
    730731  {
    731732    return true;
Note: See TracChangeset for help on using the changeset viewer.