[TYPO3-core] RFC: Bug 4758: Page with doktype 3 (external URL) and e-mail as URL could be shown directly

Ingmar Schlecht ingmar at typo3.org
Mon Feb 5 21:37:07 CET 2007


Works fine, +1.

cheers
Ingmar

Michael Stucki schrieb:
> Hi Oliver,
> 
> I had to test this one really long...
> 
>> Set the link to the e-mail address directly ("mailto:...") instead of
>> using "index.php?id=nnn". This offers also the possibility to use
>> spam-protection.
> 
> Basically, the patch works: +1
> 
> However, during testing I wondered why it caused a fatal error on my setup.
> What I found out was that my testsite was inside a submenu, and thus it was
> started by the code on line 1246 of class.tslib_menu.php.
> 
> The problem there is that the new object is created but $this->parent_cObj
> will not be copied. This should cause a random number of bugs (I'm sure
> there are some reports about this in the bugtracker...).
> 
> I'm only creating a reference to $this->parent_cObj because the object is
> only used for read access (no changes happen inside).
> 
> Olly, can you take over this new version, please?
> 
> - michael


More information about the TYPO3-team-core mailing list