From 450ac78b924fdbedeaf779552f71b1703a2cc69d Mon Sep 17 00:00:00 2001 From: Eoin Gallagher Date: Thu, 24 Oct 2024 15:43:08 +0100 Subject: [PATCH] Reader: add missng http when subscribing --- client/blocks/reader-subscription-list-item/connected.jsx | 1 + 1 file changed, 1 insertion(+) diff --git a/client/blocks/reader-subscription-list-item/connected.jsx b/client/blocks/reader-subscription-list-item/connected.jsx index 4f9b21fbd3f3b7..95cb389f98af96 100644 --- a/client/blocks/reader-subscription-list-item/connected.jsx +++ b/client/blocks/reader-subscription-list-item/connected.jsx @@ -96,6 +96,7 @@ class ConnectedSubscriptionListItem extends Component { export default compose( connect( ( state, ownProps ) => ( { isFollowing: isFollowingSelector( state, { feedId: ownProps.feedId, blogId: ownProps.siteId } ), + url: ownProps.url.match( /^https?:\/\// ) ? ownProps.url : `http://${ ownProps.url }`, } ) ), connectSite )( ConnectedSubscriptionListItem );