Lynx-Shortener / Lynx

A fullstack application using the MEVN stack to shorten your URLs.
https://getlynx.dev
MIT License
201 stars 21 forks source link

Add option for bypassing destination regex #70

Closed calli33 closed 1 year ago

calli33 commented 1 year ago

A feature on bypass url check then support url schema would be great. it helps to shortlink to open an App on iOS.

JackBailey commented 1 year ago

Thanks for the feature request. I'll try to get to adding this feature.

I'll either add an environment variable to override the existing regex for link destinations (and potentially password too) which would probably be the best option securitywise too as obviously you don't want every URL available (such as interacting with network devices or bugged URLs).

Alternatively I'll just add an option to disable the regex all together, but it'd be at the user's own risk.

calli33 commented 1 year ago

Cheers!! Look forward..

JackBailey commented 1 year ago

Oh, also for your ARM64 request via Reddit, please create a separate issue.

JackBailey commented 1 year ago

Just running some checks but seems to be working okay. It's on jackbailey/lynx:1.6.0-beta if you want to give it a go.

Docs are here: https://docs.getlynx.dev/installation/environment-variables#other, it's the one for URL_REGEX