mirror of
https://github.com/TeamPiped/Piped-Backend.git
synced 2024-12-13 22:00:29 +05:30
commit
e0225d3e63
@ -135,18 +135,16 @@ public class URLUtils {
|
||||
|
||||
StringBuilder qstring = null;
|
||||
|
||||
if (hasQuery) {
|
||||
for (List<String> pair : queryPairs) {
|
||||
if (qstring == null) {
|
||||
qstring = new StringBuilder();
|
||||
} else {
|
||||
qstring.append("&");
|
||||
}
|
||||
|
||||
qstring.append(pair.get(0));
|
||||
qstring.append("=");
|
||||
qstring.append(pair.get(1));
|
||||
for (List<String> pair : queryPairs) {
|
||||
if (qstring == null) {
|
||||
qstring = new StringBuilder();
|
||||
} else {
|
||||
qstring.append("&");
|
||||
}
|
||||
|
||||
qstring.append(pair.get(0));
|
||||
qstring.append("=");
|
||||
qstring.append(pair.get(1));
|
||||
}
|
||||
|
||||
newUrl += "?" + qstring;
|
||||
|
Loading…
Reference in New Issue
Block a user