mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-03 05:34:51 +00:00
Decrypt: changed domain
This commit is contained in:
parent
44065bc519
commit
13b914fd17
1 changed files with 2 additions and 1 deletions
|
@ -98,6 +98,7 @@ import javax.crypto.spec.PBEKeySpec;
|
||||||
|
|
||||||
public class StyleHelper {
|
public class StyleHelper {
|
||||||
private static final int MAX_PROTECTED_TEXT = 1500;
|
private static final int MAX_PROTECTED_TEXT = 1500;
|
||||||
|
private static final String DECRYPT_URL = "https://fairemail.net/decrypt/";
|
||||||
|
|
||||||
private static final List<Class> CLEAR_STYLES = Collections.unmodifiableList(Arrays.asList(
|
private static final List<Class> CLEAR_STYLES = Collections.unmodifiableList(Arrays.asList(
|
||||||
StyleSpan.class,
|
StyleSpan.class,
|
||||||
|
@ -660,7 +661,7 @@ public class StyleHelper {
|
||||||
out.put(cipherText);
|
out.put(cipherText);
|
||||||
|
|
||||||
String fragment = Base64.encodeToString(out.array(), Base64.URL_SAFE | Base64.NO_WRAP);
|
String fragment = Base64.encodeToString(out.array(), Base64.URL_SAFE | Base64.NO_WRAP);
|
||||||
String url = "https://email.faircode.eu/decrypt/#" + fragment;
|
String url = DECRYPT_URL + "#" + fragment;
|
||||||
|
|
||||||
return url;
|
return url;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue