Project

General

Profile

Actions

Bug #43972

closed

Felogin problem with redirectMode referer

Added by Pablo Feldman over 11 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
felogin
Target version:
Start date:
2012-12-13
Due date:
% Done:

0%

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

Description

In felogin, if I want after login, go back to referrer page, file `typo3/sysext/felogin/pi1/class.tx_felogin_pi1.php` to get the referrer page, call to `validateRedirectUrl` method, which to validate, needs that the url to be relative, be in current domain, or be in sys_domain table.

That's perfect, but since referrer is not relative, and the login page is in the current domain, it should use second case, but if login page is SSL (with https), and referer, as I'm not logged yet (is http), seems to be different for Typo3. Returning an empty return url.


Related issues 1 (0 open1 closed)

Is duplicate of TYPO3 Core - Bug #32618: felogin redirect if different protocol is used and no domain records are presentClosed2011-12-16

Actions
Actions #1

Updated by Pablo Feldman over 11 years ago

An example:

I'm at

http://domain.com/page

I go to login page loding

https://domain.com/login

Domain has changed for typo3, and I cannot go back to referer page

Actions #2

Updated by Jigal van Hemert over 11 years ago

  • Category set to felogin
  • Status changed from New to Closed

Closed as duplicate.

As you can read in the related issue, adding a domain record can be used as a workaround.
(Patch will refer to #32618)

Actions

Also available in: Atom PDF