Created
June 18, 2016 15:10
-
-
Save LucaTNT/b871743354340dc18009a9acd515c7ba to your computer and use it in GitHub Desktop.
Patch to podPress that allows serving podcast mp3's over HTTPS. See https://lucatnt.com/2016/06/add-ssl-support-to-podpress/ for details.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1028c1028 | |
< if ( $aURL['scheme'] != 'http' ) { | |
--- | |
> if ( $aURL['scheme'] != 'http' && $aURL['scheme'] != 'https' ) { | |
1617,1618c1617,1618 | |
< // make sure we get the header | |
< curl_setopt($ch, CURLOPT_HEADER, TRUE); | |
--- | |
> // make sure we DON'T get the header | |
> curl_setopt($ch, CURLOPT_HEADER, FALSE); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment