Giving a url with a port to search form of Special:LinkSearch, will not find the url.
A user on de.wp was searching for:
http://www.gencat.net:8000/osial/owa/p01.dad_ens?via=0&cod=0800180001
This results in a query (on my localhost, git master):
SELECT page_namespace AS namespace, page_title AS title, el_index AS value, el_to AS url
FROM page , externallinks
FORCE INDEX ( el_index )
WHERE (
page_id = el_from
)
AND (
el_index LIKE 'http://net:8000.gencat.www./osial/owa/p01.dad\_ens?via=0&cod=0800180001%'
But el_index in the database is:
http://net.gencat.www.:8000/osial/owa/p01.dad_ens?via=0&cod=0800180001
which cannot match, because the database has the port after domain and the special page put the port after the tld, which looks strange.
Version: 1.20.x
Severity: normal