Project

General

Profile

Actions

Bug #19480

closed

Frontend Edit Panel is not compatible with subdomains and RealURL

Added by Xavier Perseguers about 16 years ago. Updated over 14 years ago.

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

0%

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

Description

- Install TYPO3 as a subdomain, e.g., http://www.domain.tld/subdomain
- Map a domain, e.g., http://www.somewhere.com to somewhere in the pagetree
- Activate FE editing with pageTS from http://typo3.org/documentation/tips-tricks/frontend-editing/ without hiding the panel itself

When showing a page corresponding to a page in the somewhere.com subtree with frontend editing, the URL is actually http://www.domain.tld/subdomain/index.php?id=X. The form encapsulating the frontend editing panel as a relative action to /subdomain/index.php and a few parameters. However with RealURL, there is a baseURL in the head section that states that relative URL should be prefixed with http://somewhere.com.

This leads to a "missing postVarSet" error from RealURL.

Solution: generate the form action with an absolute URL instead.

(issue imported from #M9600)


Files

t3lib_tsfebeuserauth.diff (975 Bytes) t3lib_tsfebeuserauth.diff Administrator Admin, 2008-10-17 16:08
9600_v2.diff (1.09 KB) 9600_v2.diff Administrator Admin, 2009-02-03 17:58
Actions #1

Updated by Jeff Segars almost 16 years ago

Committed original patch (t3lib_tsfebeuserauth.diff) to 4.2 in r4931 and updated patch (9600_v2) to trunk in r4932.

Actions

Also available in: Atom PDF