Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion brafton_importer.info.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
2 changes: 1 addition & 1 deletion src/APIClientLibrary/XMLHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class XMLHandler {
* @return XMLHandler
*/
function __construct($url){
if(!preg_match('/^http:\/\//', $url)){
if(!preg_match('/^https?:\/\//', $url)){
$url = 'file://' . $url;
}

Expand Down