From 8dd7602139b1fdacd474cb37a99f26e389bbb34f Mon Sep 17 00:00:00 2001 From: allanjames Date: Wed, 14 Feb 2018 17:54:20 -0500 Subject: [PATCH 1/2] repair preg_match call query to accommodate https urls --- src/APIClientLibrary/XMLHandler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/APIClientLibrary/XMLHandler.php b/src/APIClientLibrary/XMLHandler.php index 672eb39..838334d 100644 --- a/src/APIClientLibrary/XMLHandler.php +++ b/src/APIClientLibrary/XMLHandler.php @@ -25,7 +25,7 @@ class XMLHandler { * @return XMLHandler */ function __construct($url){ - if(!preg_match('/^http:\/\//', $url)){ + if(!preg_match('/^https?:\/\//', $url)){ $url = 'file://' . $url; } From 0cec2fb2cca5c5ad5e691ef1652cc093d25023f4 Mon Sep 17 00:00:00 2001 From: allanjames Date: Thu, 15 Feb 2018 09:51:59 -0500 Subject: [PATCH 2/2] increment version # to 1.0.3 --- brafton_importer.info.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/brafton_importer.info.yml b/brafton_importer.info.yml index 9463dc3..3ed1ae2 100644 --- a/brafton_importer.info.yml +++ b/brafton_importer.info.yml @@ -2,7 +2,7 @@ name: Brafton Importer Module description: Imports Brafton articles from XML feeds. package: Custom type: module -version: '8.x-1.0.2' +version: '8.x-1.0.3' core: '8.x' project: 'brafton_importer' project status url: 'http://updater.brafton.com/drupal8'