Changeset 118198 in spip-zone


Ignore:
Timestamp:
Oct 18, 2019, 11:19:32 AM (14 months ago)
Author:
root
Message:

le endpoint de soundcloud est en https uniquement

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/plugins_seenthis/autoembed/autoembed.php

    r115653 r118198  
    108108                }
    109109                else if (preg_match("/^https?\:\/\/(www\.)?soundcloud\.com/i", $url)) {
    110                         $oembed = "http://soundcloud.com/oembed?format=json&url=".$url;
     110                        $oembed = "https://soundcloud.com/oembed?format=json&url=".$url;
    111111                        $json = join("",file($oembed));
    112112                        $json = json_decode($json);
Note: See TracChangeset for help on using the changeset viewer.