Project

General

Profile

Actions

Bug #14233

closed

page-type external end empty URL

Added by Peter Niederlag over 20 years ago. Updated over 16 years ago.

Status:
Closed
Priority:
Should have
Category:
Frontend
Target version:
-
Start date:
2004-07-08
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
3.6.0
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

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

0000209-tca_urlreq.diff (289 Bytes) 0000209-tca_urlreq.diff Administrator Admin, 2005-01-31 21:58
0000209-tca_url_shortcut.diff (533 Bytes) 0000209-tca_url_shortcut.diff Administrator Admin, 2005-02-02 19:53
Actions #1

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?

Actions #2

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

Actions #3

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.

Actions #4

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)

Actions

Also available in: Atom PDF