From 289bb0b4ae3c34324e102d7fdec73bbf7fddf6f7 Mon Sep 17 00:00:00 2001 From: Jeremy Kauffman Date: Wed, 28 Jun 2017 11:24:16 -0400 Subject: [PATCH] hackish fix for pending publishes not working --- ui/js/lbryuri.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ui/js/lbryuri.js b/ui/js/lbryuri.js index b58ad55ac..a2239293b 100644 --- a/ui/js/lbryuri.js +++ b/ui/js/lbryuri.js @@ -99,7 +99,8 @@ lbryuri.parse = function(uri, requireProto = false) { if ( claimId && - (claimId.length > CLAIM_ID_MAX_LEN || !claimId.match(/^[0-9a-f]+$/)) + (claimId.length > CLAIM_ID_MAX_LEN || !claimId.match(/^[0-9a-f]+$/)) && + !claimId.match(/^pending_/) //ought to be dropped when savePendingPublish drops hack ) { throw new Error(__(`Invalid claim ID %s.`, claimId)); }