Open dbrgn opened 1 year ago
If the URL already contains a protocol (e.g. fdroidrepos://example.com), do not prepend http:// when sharing it.
fdroidrepos://example.com
http://
See https://gitlab.com/fdroid/fdroidclient/-/merge_requests/1133 for the breakage that this can cause.
Related to #104.
My suggestion: If a string starts with ^[a-zA-Z0-9]+://, do not modify it in any way when opening.
^[a-zA-Z0-9]+://
If the URL already contains a protocol (e.g.
fdroidrepos://example.com
), do not prependhttp://
when sharing it.See https://gitlab.com/fdroid/fdroidclient/-/merge_requests/1133 for the breakage that this can cause.
Related to #104.
My suggestion: If a string starts with
^[a-zA-Z0-9]+://
, do not modify it in any way when opening.