[TYPO3-mvc] link.external : how about adding 'http://' ?

Christine Gerpheide cgerpheide at gmail.com
Fri Oct 22 18:12:23 CEST 2010


2010/10/22 Franz Koch <typo3.RemoveForMessage at elements-net.de>

> Hey,
>
>
>  This is true... But as this is an external link, that would be more
>> appropriate in general.  Is this, though, to imply we don't like the idea
>> of
>> adding http:// in the external viewhelper?  I'm open to reasons why this
>> would be a bad idea, but  it seems like this could be a nice convenience.
>>
>
> no, it's just a temporary workaround - this of course has to be fixed, but
> might be hard to achieve to detect what's a valid URI and what isn't. F.e.
> call:// would also be valid for skype related links etc. But easiest might
> be to check for "://" for now and if it's missing add http:// by default.
> IIRC this URI detection stuff has been asked/discussed on this list just
> lately - but don't remember by whom.
>
> --
> kind regards,
> Franz Koch
>
>
Hi Franz, Bastian,

I've added the issue in the extbase bugtracker here (this is where it should
go, correct, not in some Fluid bugtracker?):
http://forge.typo3.org/issues/10401

Yes, perhaps checking for :// is the best way to go as well... I was not so
sure though so I didn't add a patch.

Christine


More information about the TYPO3-project-typo3v4mvc mailing list