Project

General

Profile

Actions

Task #38640

closed

Wrong 'redirect to' in sys_domain record hangs PHP-task

Added by Franz Geiger over 12 years ago. Updated about 6 years ago.

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

0%

Estimated time:
TYPO3 Version:
4.7
PHP Version:
5.3
Tags:
Complexity:
medium
Sprint Focus:

Description

Hi,

if one creates a domain record with wrong 'redirect to' parameters and tries to load that domain, the php task hangs and the server gets unusable.

Here is what I did:
  • I'm on a shared host with PHP 5.3 running as a fastCGI task.
  • TYPO3 4.7.1 is installed.
  • Both domains foo.com and bar.com point to my installation of TYPO3.
  • Go to list view in the TYPO3 backend and create a new domain record (foo.com).
  • create a second domain record (bar.com) and tick the option to redirect it with a 301-header to "foo.com" (obviously "http://foo.com" would be correct) on the same page.

When I enter bar.com in my browser, the server shows me a 503 error and I get several php53.fcgi tasks running and blocking all other PHP-scripts.

Obviously TYPO3 cannot correct my very own mistake. But it would be beautiful, if it could handle that error more gracefully and not block all PHP tasks.

Best,
Franz


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Task #83638: Remove sys_domain redirect functionalityClosedBenni Mack2018-01-22

Actions
Actions #1

Updated by Steffen Ritter over 12 years ago

I could imagine such a detection for a loop of two domains just checking the referer beeping equal to the target. But this actually already would fail on a three domain loop.

Actions #2

Updated by Mathias Schreiber almost 10 years ago

  • Tracker changed from Bug to Task
  • Target version set to 7.2 (Frontend)
  • Complexity set to medium
Actions #3

Updated by Benni Mack over 9 years ago

  • Target version changed from 7.2 (Frontend) to 7.4 (Backend)
Actions #4

Updated by Susanne Moog over 9 years ago

  • Target version changed from 7.4 (Backend) to 7.5
Actions #5

Updated by Benni Mack about 9 years ago

  • Target version changed from 7.5 to 7 LTS
Actions #6

Updated by Georg Ringer about 6 years ago

  • Related to Task #83638: Remove sys_domain redirect functionality added
Actions #7

Updated by Georg Ringer about 6 years ago

  • Status changed from New to Closed

even though the issue might still valid, the redirect to field has been removed with #83638, therefore this issue has been closed.

Actions

Also available in: Atom PDF