mirror of
https://github.com/TeamPiped/Piped-Backend
synced 2025-09-02 19:41:14 +02:00
fix crash on empty string query parameters
This commit is contained in:
parent
df57236657
commit
dc834a3747
@ -68,7 +68,7 @@ public class URLUtils {
|
||||
|
||||
String query = url.getQuery();
|
||||
|
||||
boolean hasQuery = query != null;
|
||||
boolean hasQuery = query != null && query.length() > 0;
|
||||
|
||||
Comparator<List<String>> listComparator = (o1, o2) -> {
|
||||
for (int i = 0; i < Math.min(o1.size(), o2.size()); i++) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user