Merge pull request #441 from uberspot/master

fix emails not showing up in import keyserver search
This commit is contained in:
Dominik Schürmann 2014-03-18 18:27:22 +01:00
commit 6a854a86dd

View File

@ -257,8 +257,7 @@ public class HkpKeyServer extends KeyServer {
final String uidLines = matcher.group(7);
final Matcher uidMatcher = UID_LINE.matcher(uidLines);
while (uidMatcher.find()) {
String tmp = uidMatcher.group(1).replaceAll("<.*?>", "");
tmp = Html.fromHtml(tmp).toString().trim();
String tmp = uidMatcher.group(1).trim();
if (tmp.contains("%")) {
try {
// converts Strings like "Universit%C3%A4t" to a proper encoding form "Universität".