Bug #72818
closedExternal links including ".php" rendered without http
100%
Description
Hi,
I have a gridelement and define a link field in it (Flexform below). When I then edit my content and enter a link such as http://www.google.de/index.php the link (TypolinkViewHelper from Fluid) is rendered without http://, so it would lead to http://myexample.com/www.google.de/index.php.
It does work without the "/index.php". It did work with PageViewHelper in TYPO3 6.*.
- Is that expected behaviour?
- Is there a viewhelper, or planned, that renders all types of links (internal, external, ...)?
- If not, is it possible and documented how to call a ViewHelper from another ViewHelper? I tried that but had some questions about setting some context, e.g. with private variables in AbstractViewHelper...
My Workaround is a Fluid Partial for deciding which ViewHelper to take, but I'd like to know if there is a more convenient solution.
Thanks a lot!
My Flexform:
... <teaserlink> <TCEforms type="array"> <config type="array"> <type>input</type> <size>15</size> <max>256</max> <checkbox></checkbox> <eval>trim</eval> <wizards type="array"> <_PADDING type="integer">2</_PADDING> <link type="array"> <type>popup</type> <title>Link</title> <icon>link_popup.gif</icon> <module type="array"> <name>wizard_element_browser</name> <urlParameters type="array"> <mode>wizard</mode> <act>file,url,page</act> </urlParameters> </module> <JSopenParams>height=300,width=500,status=0,menubar=0,scrollbars=1</JSopenParams> </link> </wizards> </config> <label>Something</label> </TCEforms> </teaserlink> ...
My Fluid template:
... <f:link.typolink parameter="{data.flexform_teaserlink}">Some link</f:link.typolink> ...
Updated by Markus Klein almost 9 years ago
- Category changed from Fluid to Frontend
- Status changed from New to Accepted
- Assignee set to Markus Klein
- Priority changed from Should have to Must have
- Target version set to Candidate for patchlevel
- Is Regression changed from No to Yes
Can be easily reproduced by using FSC and setting an external link on the header of a content element.
Updated by Markus Klein almost 9 years ago
- Target version changed from Candidate for patchlevel to 7.6.3
- Complexity set to easy
Wrong condition transformation with ticket #55626.
Compare with https://github.com/TYPO3/TYPO3.CMS/blob/TYPO3_6-2/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php#L5907
Updated by Gerrit Code Review almost 9 years ago
- Status changed from Accepted to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/46082
Updated by Gerrit Code Review almost 9 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/46082
Updated by Gerrit Code Review almost 9 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/46082
Updated by Gerrit Code Review almost 9 years ago
Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/46082
Updated by Gerrit Code Review almost 9 years ago
Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/46082
Updated by Gerrit Code Review almost 9 years ago
Patch set 6 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/46082
Updated by Gerrit Code Review almost 9 years ago
Patch set 7 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/46082
Updated by Gerrit Code Review almost 9 years ago
Patch set 1 for branch TYPO3_7-6 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/46106
Updated by Markus Klein almost 9 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 7245cdf41577acd095953233268c9e6df636c262.
Updated by Riccardo De Contardi about 7 years ago
- Status changed from Resolved to Closed