mirror of
https://github.com/moparisthebest/open-keychain
synced 2024-11-24 01:32:16 -05:00
Merge pull request #441 from uberspot/master
fix emails not showing up in import keyserver search
This commit is contained in:
commit
6a854a86dd
@ -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