mirror of https://github.com/M66B/FairEmail.git
Fix http/s URIs
This commit is contained in:
parent
ad7967af84
commit
9f32fcf577
|
@ -460,7 +460,8 @@ public class UriHelper {
|
|||
}
|
||||
|
||||
static Uri fix(Uri uri) {
|
||||
if ("HTTP".equals(uri.getScheme()) || "HTTPS".equals(uri.getScheme())) {
|
||||
if ((!"http".equals(uri.getScheme()) && "http".equalsIgnoreCase(uri.getScheme())) ||
|
||||
(!"https".equals(uri.getScheme()) && "https".equalsIgnoreCase(uri.getScheme()))) {
|
||||
String u = uri.toString();
|
||||
int semi = u.indexOf(':');
|
||||
if (semi > 0)
|
||||
|
|
Loading…
Reference in New Issue