[TYPO3-core] RFC #8412: Bug: typo3/file_edit.php replaces ###PATH### in the edited file with the value of $this->title
Andreas Wagner
andreas.wagner at klee.se
Tue May 27 00:16:41 CEST 2008
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
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: bug_8412.diff
Url: http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20080527/b6dfafe9/attachment.txt
More information about the TYPO3-team-core
mailing list