Project

General

Profile

Actions

Bug #24109

closed

Links don't prepend possible subdir of installation

Added by Georg Ringer about 14 years ago. Updated almost 14 years ago.

Status:
Closed
Priority:
Must have
Assignee:
Category:
Communication
Target version:
-
Start date:
2010-11-17
Due date:
% Done:

0%

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

Description

It seems that there is a bug creating absolute urls as the subdirectory is not set.

I discovered the problem when using fluid's new PaginateViewHelper which generates urls like
http://localhost/index.php?id=1&tx_news2_pi1[__widget_0][currentPage]=2&cHash=eca5e85d4f7e456a250c6957de18a42b
but it should be
http://localhost/currenttrunk/index.php?id=1&tx_news2_pi1[__widget_0][currentPage]=2&cHash=eca5e85d4f7e456a250c6957de18a42b

It doesn't seem to be an extbase problem as the wrong call comes from function buildFrontendUri() which calls $this->contentObject->typoLink_URL($typolinkConfiguration). So the problem seems to be somewhere inside typolink()

Another strange thing: extbase sets:
$typolinkConfiguration['forceAbsoluteUrl'] = TRUE;

and there is also a function forceAbsoluteUrl() inside tslib_content but it is not called (This function is only called when links to files or restricted pages are built, so this can be another issue).

Using current trunk, xampp

(issue imported from #M16450)


Related issues 1 (0 open1 closed)

Is duplicate of TYPO3 Core - Bug #24642: pages with Enforce Protocol(SSL) generate false URLClosed2011-01-18

Actions
Actions #1

Updated by Susanne Moog almost 14 years ago

The patch for 17118 should fix this one, too. So I'm closing this one.

Actions

Also available in: Atom PDF