Bug #14233
closedpage-type external end empty URL
0%
Description
URL-Field of page-type is not a required field. Therefor a user might not enter any value here. Whene it is empty and FE generates Menu clicking on this page-link(which is external url) TSFE will break with following error:
Warning: parse_url(http://): Unable to parse url in /typo3_src-3.6.1/t3lib/class.t3lib_page.php on line 521
Solution:
make URL required field?
(issue imported from #M209)
Files
Updated by Michael Scharkow almost 20 years ago
I can verify this on 3.7 Attached a tiny diff to sysext/cms/ext_tables.php which adds required eval to the url field. Does this have any side-effects?
Updated by Sacha Vorbeck almost 20 years ago
I think it would also make sense to make the shortcut field in page type "shortcut" a required field
Updated by Michael Scharkow almost 20 years ago
Sacha, good idea. Uploaded a patch which fixes both.
Note that there is a trailing comma in the diff which should not be there but seems to have no effect. Is it possible to remove uploaded files? I don't want to flood this with diffs. Sorry.
Updated by Thorsten Kahler over 17 years ago
Fixed in SVN in branches TYPO3_4-0 and TYPO3_4-1 and trunk (TYPO3_4-2)