Project

General

Profile

Actions

Bug #16663

closed

Function http_makelinks doesn´t work correctly when the url followed by a tag

Added by Frank no-lastname-given over 17 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2006-10-23
Due date:
% Done:

0%

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

Description

The function http_makelinks doesn´t detects the end of a url when the url directly followed by a html-tag (e.g. <br>)

I think the problem is in "class.tslib_content.php" on line 4481:

if (!ereg('[A-Za-z0-9\/#_-]',$lastChar)) {$len--;} // Included '\/' 3/12

In my opinion the expression should extended to "<" and chr(10) and chr(13).

(issue imported from #M4429)

Actions #1

Updated by Frank no-lastname-given over 17 years ago

The problem is not the line 4481 above - but the function doesn´t work correctly.

Sometimes there is more than the url in the link. In other cases the function not detects the url beginning with http:// - when the whole text ends with this url.

Actions #2

Updated by Alexander Opitz almost 11 years ago

  • Category deleted (Communication)
  • Status changed from New to Needs Feedback
  • Target version deleted (0)
  • PHP Version deleted (4)

The issue is very old, does this issue exists in newer versions of TYPO3 CMS (4.5 or 6.1)?

Actions #3

Updated by Alexander Opitz over 10 years ago

  • Status changed from Needs Feedback to Closed

No feedback for over 90 days.

Actions

Also available in: Atom PDF