From 6d4f42d481bce2f0f7eb20f91983b0924b51a99d Mon Sep 17 00:00:00 2001 From: nate Date: Mon, 6 May 2019 12:46:04 -0400 Subject: [PATCH] added regex to check for an 's' in the http precursor of import url --- 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; }