Project

General

Profile

Actions

Bug #39572

closed

Enforce Protocol of Root page is applied to eID scripts

Added by Nico de Haen over 11 years ago. Updated over 5 years ago.

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

100%

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

Description

I have a page tree like this:

home
- site1
- site2 (https)
- site3

I set the use protocol of the home page to http since I want https only in site2.
If I call an eID script now with https://index.php?eID=myEID, the request of that script is redirect to http, even if I'm on site2.
The resaon is, that the page id is not evaluated in eID scripts, (which is correct), but the enforce protocol field is.

If I change the protocol on home to "Default" it's working again, but this will result in a https on home, if someone comes from site2.

Actions #1

Updated by Jeff Segars over 11 years ago

  • Status changed from New to Needs Feedback

Nico,
Can you post an example of the eID script you're using? My guess is that it is calling some portion of the frontend rendering process that eventually gets to tslib_fe->fetch_the_id(). The purpose of that function is to figure out the page id (which doesn't make sense for eID) and after figuring out the id, it redirects if protocols don't match.

Thanks,
Jeff

Actions #2

Updated by Nico de Haen over 11 years ago

Hi Jeff,

you lead me on the right track. I initialized parts of TSFE in my eID script so that caused the redirect, not the plain eID functionality.

So please change the status to "Resolved"

Thanks,
Nico

Actions #3

Updated by Michael Stucki over 11 years ago

  • Status changed from Needs Feedback to Resolved
  • % Done changed from 0 to 100

No change needed.

Actions #4

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF