Changeset 96714 in spip-zone


Ignore:
Timestamp:
Apr 20, 2016, 2:14:29 PM (3 years ago)
Author:
brunobergot@…
Message:

version 1.6.3 : retour sur r95697, suivre les redirections quand on utilise curl

réparer les embeds d'instagram, signalé par ydikoi https://contrib.spip.net/oEmbed-4407#forum487052

Location:
_plugins_/oembed
Files:
2 edited

Legend:

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

    r95704 r96714  
    2727                curl_setopt($c, CURLOPT_RETURNTRANSFER, 1);
    2828                curl_setopt($c, CURLOPT_URL, $oembed_url);
     29                curl_setopt($c, CURLOPT_FOLLOWLOCATION, true);
    2930
    3031                if (isset($GLOBALS['meta']["http_proxy"]) AND $GLOBALS['meta']["http_proxy"]){
  • _plugins_/oembed/paquet.xml

    r95704 r96714  
    22        prefix="oembed"
    33        categorie="multimedia"
    4         version="1.6.2"
     4        version="1.6.3"
    55        etat="stable"
    66        compatibilite="[3.0.0;3.1.*]"
Note: See TracChangeset for help on using the changeset viewer.