mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-02 13:14:39 +00:00
Reduced logging
This commit is contained in:
parent
79c6df7161
commit
c5df83bf2f
1 changed files with 6 additions and 1 deletions
|
@ -365,8 +365,13 @@ public class UriHelper {
|
|||
// go.dhlparcel.nl and others
|
||||
try {
|
||||
String path = uri.getPath();
|
||||
String b = null;
|
||||
int s = path.lastIndexOf('/');
|
||||
String b = (s > 0 ? new String(Base64.decode(path.substring(s + 1), Base64.URL_SAFE)) : null);
|
||||
if (s > 0)
|
||||
try {
|
||||
b = new String(Base64.decode(path.substring(s + 1), Base64.URL_SAFE));
|
||||
} catch (IllegalArgumentException ignored) {
|
||||
}
|
||||
Uri result = (b == null ? null : Uri.parse(b));
|
||||
changed = (result != null && result.getScheme() != null);
|
||||
url = (result == null ? uri : result);
|
||||
|
|
Loading…
Reference in a new issue