[TYPO3-core] RFC #8412: Bug: typo3/file_edit.php replaces ###PATH### in the edited file with the value of $this->title
Benjamin Mack
benni at typo3.org
Tue May 27 08:57:41 CEST 2008
Dudes, this is a funny bug :)
+1 after reading. Simple but effective solution :)
Andreas Wagner wrote:
> This is an SVN patch request.
>
> Type: Bugfix
>
> Bugtracker references: http://bugs.typo3.org/view.php?id=8412
>
> Branches: 4.2, Trunk
>
> Problem:
> When editing a file in the filelist module that contains the string
> ###PATH###, this string gets replaced with something like <img
> src="sysext/t3skin/icons/gfx/i/_icon_ftp.gif" width="16" height="16"
> title="" alt="" />fileadmin/: test.txt
>
> The reason for this is that the CONTENT marker is being substituted
> before the PATH marker when creating the module body in typo3/file_edit.php
>
> Solution:
> Change the order of CONTENT and PATH in $markerArray at the end of
> SC_file_edit->main()
>
> Notes:
> This bug is effective when editing the template file of indexed_search
> which contains the marker ###PATH###.
>
>
> Regards,
> Andreas Wagner
>
--
greetings,
benni.
-SDG-
More information about the TYPO3-team-core
mailing list