1
0
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:
ms8661 2022-01-11 03:33:04 +00:00
parent ef988a3dd0
commit 68e5a818b7

View File

@ -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;