Amazon

DragonflyCMS Projects > Syndicated News Feeds > Unable to use "https://" for RSS URL > Community Forums > Phoenix Netology
Forum Index > Management > Syndicated News Feeds

Unable to use "https://" for RSS URL Reply to topic


I came across an issue trying to add a RSS Feed, it seems that the Module does not like "https://" URL's.

After digging into index.inc in modules\Syndicated_News\admin
at Line 179 and Line 180:
if (!ereg('http://', $url)) {
$url = 'http://'.$url;

I changed this to:
if (!ereg('http://|https://', $url)) {
$url = 'http://|https://'.$url;

Also had to make this change at Line 266 and Line 267

URL's with "https://" News Feeds are now being accepted
Attachment: index.zip
Description Edited modules\Syndicated_News\admin\index.inc to allow "https://" in URL's
Filename index.zip
Filesize 4.00 KiB
Downloaded 0 Time(s)
You are not allowed to view/download this attachment

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Linux/Apache/MySQL 5.5/PHP 5.5/Dragonfly CMS 9.4

All times are Australia/Adelaide


Jump to: