mirror of
https://framagit.org/tom79/nitterizeme
synced 2024-12-22 13:44:18 +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);
|
||||
}
|
||||
newUrl = scheme + wikilessHost + "/" + path + (subdomain != null ? "&lang=" + subdomain : "");
|
||||
newUrl = scheme + wikilessHost + "/" + path + (subdomain != null ? "?lang=" + subdomain : "");
|
||||
return newUrl;
|
||||
} else {
|
||||
return url;
|
||||
|
Loading…
Reference in New Issue
Block a user