Changeset 55025 in spip-zone


Ignore:
Timestamp:
Dec 1, 2011, 9:34:30 AM (8 years ago)
Author:
cedric@…
Message:

On ne s'oEmbed pas soi meme !

Location:
_plugins_/oembed
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/oembed/inc/oembed.php

    r54760 r55025  
    136136                return $cache[$data_url];
    137137        }
    138 
     138        var_dump($url);
    139139        $cache[$data_url] = false;
    140140        // on recupere le contenu de la page
     
    175175 */
    176176function oembed_verifier_provider($url) {
     177        if (strncmp($url,$GLOBALS['meta']['adresse_site'],strlen($GLOBALS['meta']['adresse_site']))==0)
     178                return false;
    177179        $providers = oembed_lister_providers();
    178180        foreach ($providers as $scheme=>$endpoint) {
  • _plugins_/oembed/paquet.xml

    r54760 r55025  
    22        prefix="oembed"
    33        categorie="multimedia"
    4         version="0.8.0"
     4        version="0.8.1"
    55        etat="test"
    66        compatibilite="[3.0.0-beta;["
Note: See TracChangeset for help on using the changeset viewer.