mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2026-03-22 05:31:35 +00:00
GUAC-1193: Do not search for empty terms.
This commit is contained in:
+4
-2
@@ -124,8 +124,10 @@ public class HistoryRESTService {
|
||||
ConnectionRecordSet history = userContext.getConnectionHistory();
|
||||
|
||||
// Restrict to records which contain the specified strings
|
||||
for (String required : requiredContents)
|
||||
history = history.contains(required);
|
||||
for (String required : requiredContents) {
|
||||
if (!required.isEmpty())
|
||||
history = history.contains(required);
|
||||
}
|
||||
|
||||
// Sort according to specified ordering
|
||||
for (APIConnectionRecordSortPredicate predicate : sortPredicates)
|
||||
|
||||
Reference in New Issue
Block a user