Bug #72331
closedLinkwizard treats external links with an extension not as external url
0%
Description
After typing a link like http://www.google.com/ in external tab and clicking on Set Link button, the protocol is getting removed and www.google.com is set in the url field. This works like a charm through ContentObjectRenderer->getTypolink.
Once the url looks like http://www.google.com/whatever.html, www.google.com/whatever.html is being used in the url field. Such link is getting appended to the actual domain and is producing links like http://www.example.com/www.google.com/index.html.
I was able to produce this on Typo3 7.6.1 using DCE TypolinkViewHelper. Only parameter (url) and a subject are passed to getTypolink without further processing.
Might be a case for DCE developers, but still, I wouldn't want to code additional Link handlers just because of that missing http.
Files
Updated by Riccardo De Contardi almost 9 years ago
I can confirm it with 7.6.2 and latest master (8.0-dev) ; I used a standard TYPO3 CE, and assigned the url to the CE header using the wizard (not a DCE issue, then).
Updated by Wouter Wolters almost 9 years ago
- Status changed from New to Needs Feedback
This should be resolved with https://forge.typo3.org/issues/72818 can you try latest master to test this?
Updated by Riccardo De Contardi over 8 years ago
- Status changed from Needs Feedback to Closed
- Assignee deleted (
Mathias Schreiber)
I tested with both 7.6.4 and the latest master, and I was not able to reproduce the issue, therefore I close it as solved.
If you think that this is the wrong decision or experience this issue again, then please write to the mailing list typo3.teams.bugs with issue number and an explanation or open a new ticket and add a relation to this ticket number.
Thank you