Issue Bug Closed

#20831typoLink() sometime wrongly drops url

Vladimir Podkovanov 08/04/09, 22:07 updated 08/06/10, 13:29

Description

tslib_cObj::typoLink() function drops url and left only section anchor in case (quote from source code):
// If sectionMark is set, there is no baseURL AND the current page is the page the link is to, check if there are any additional parameters and is not, drop the url.

But this check is not enough as if present addQueryString=1 parameter with addQueryString.method=POST or addQueryString.exclude=… then url could not be dropped as it is pointing to different page.

(issue imported from #M11643)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.