#18663typoLink generates wrong links
Description
If file with a numeric name exists in the root of TYPO3 web site (for example, file name is 123) and there is page with the same uid (uid=123), then TYPO3 will always generate link to a file making page inaccessible. This also causes security problem: someone with physical access may spoof a page and it will not be detected by any existing automated processing (Google, MSIE7, FF, Thunderbird). Links to page will look like http://domain.com/123 instead of http://domain.com/index.php?id=123 or http://domain.com/aaa/bbb (with RealURL).
After fixing it we need also to update TSRef with information about this case.
(issue imported from #M8192)
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.