mirror of
https://github.com/moparisthebest/open-keychain
synced 2024-11-11 11:35:07 -05:00
fix emails not showing up in import keyserver search
This commit is contained in:
parent
9badff0b5b
commit
ea648e5a43
@ -257,8 +257,7 @@ public class HkpKeyServer extends KeyServer {
|
|||||||
final String uidLines = matcher.group(7);
|
final String uidLines = matcher.group(7);
|
||||||
final Matcher uidMatcher = UID_LINE.matcher(uidLines);
|
final Matcher uidMatcher = UID_LINE.matcher(uidLines);
|
||||||
while (uidMatcher.find()) {
|
while (uidMatcher.find()) {
|
||||||
String tmp = uidMatcher.group(1).replaceAll("<.*?>", "");
|
String tmp = uidMatcher.group(1).trim();
|
||||||
tmp = Html.fromHtml(tmp).toString().trim();
|
|
||||||
if (tmp.contains("%")) {
|
if (tmp.contains("%")) {
|
||||||
try {
|
try {
|
||||||
// converts Strings like "Universit%C3%A4t" to a proper encoding form "Universität".
|
// converts Strings like "Universit%C3%A4t" to a proper encoding form "Universität".
|
||||||
|
Loading…
Reference in New Issue
Block a user