mirror of
https://github.com/moparisthebest/open-keychain
synced 2024-11-27 19:22:14 -05:00
Merge pull request #681 from timbray/master
Handle empty keybase.io query, should fix #675
This commit is contained in:
commit
8f4e66348d
@ -42,6 +42,9 @@ public class KeybaseKeyserver extends Keyserver {
|
|||||||
// cut off "0x" if a user is searching for a key id
|
// cut off "0x" if a user is searching for a key id
|
||||||
query = query.substring(2);
|
query = query.substring(2);
|
||||||
}
|
}
|
||||||
|
if (query.isEmpty()) {
|
||||||
|
throw new QueryTooShortException();
|
||||||
|
}
|
||||||
mQuery = query;
|
mQuery = query;
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
Loading…
Reference in New Issue
Block a user