dub icon indicating copy to clipboard operation
dub copied to clipboard

Support generic action/deep link formats

Open kaerez opened this issue 1 year ago • 3 comments

Support the regex below, which supports other valid links such as: sms:+12125551212 call:2125551212 whatsapp://send com.acme.a1t-3://license?set=1f6R@!a

Applicable regex: ([\S]+:[\S]+)

kaerez avatar Jul 16 '24 14:07 kaerez

We do have the isSupportedDeepLinkProtocol check which supports most of the examples here, but we're wary of opening it up to a generic regex in case of abuse. Any thoughts/advice here?

steven-tey avatar Jul 17 '24 21:07 steven-tey

Deeplinks are officially supported in RFC's and by Google and Apple. Any HTML can have a meta redirect, shadow (reporting) link, direct href link, etc... I think, at least for custom domains, this should be permitted. This could also be an opportunity to possibly support adding a permissive and/or restrictive regex to the ui for admins.

kaerez avatar Jul 21 '24 07:07 kaerez