Accept harbour-9f3a1c2b, /uploads/harbour-9f3a1c2b, or the same with an extension, and return the bare ref. Anything else — including an absolute URL — is not a reference to an upload.
harbour-9f3a1c2b
/uploads/harbour-9f3a1c2b
Accept
harbour-9f3a1c2b,/uploads/harbour-9f3a1c2b, or the same with an extension, and return the bare ref. Anything else — including an absolute URL — is not a reference to an upload.