mirror of
https://framagit.org/tom79/nitterizeme
synced 2025-02-16 19:50:40 +01:00
Fix language param 'lang' appended to wikipedia URL; use '?' instead of '&' since it is the first and only param
This commit is contained in:
parent
ef988a3dd0
commit
68e5a818b7
@ -361,7 +361,7 @@ public class Utils {
|
|||||||
}
|
}
|
||||||
path = matcher.group(2);
|
path = matcher.group(2);
|
||||||
}
|
}
|
||||||
newUrl = scheme + wikilessHost + "/" + path + (subdomain != null ? "&lang=" + subdomain : "");
|
newUrl = scheme + wikilessHost + "/" + path + (subdomain != null ? "?lang=" + subdomain : "");
|
||||||
return newUrl;
|
return newUrl;
|
||||||
} else {
|
} else {
|
||||||
return url;
|
return url;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user