[TYPO3-core] RFC #9600: Frontend Edit Panel is not compatible with subdomains and RealURL

Xavier Perseguers typo3 at perseguers.ch
Fri Oct 17 16:12:44 CEST 2008


Hi,

This is a SVN patch request.

Type: Bug Fixing

Bugtracker reference:
http://bugs.typo3.org/view.php?id=9600

Branches: trunk, 4.2

Problem:
- 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.

Cheers

-- 
Xavier Perseguers
http://xavier.perseguers.ch/en/tutorials/typo3.html
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: t3lib_tsfebeuserauth.diff
Url: http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20081017/974baded/attachment.txt 


More information about the TYPO3-team-core mailing list