[TYPO3-core] RFC #8412: Bug: typo3/file_edit.php replaces ###PATH### in the edited file with the value of $this->title

Dmitry Dulepov [typo3] dmitry at typo3.org
Tue May 27 10:32:25 CEST 2008


Andreas Wagner wrote:
> 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###.

Tested and committed to 4.2 and trunk.

-- 
Dmitry Dulepov
TYPO3 core team
Web: http://typo3bloke.net/
"Nothing is impossible. There are only limits to our knowledge"


More information about the TYPO3-team-core mailing list