Task #38640
closedWrong 'redirect to' in sys_domain record hangs PHP-task
0%
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
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.
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
Updated by Benni Mack over 9 years ago
- Target version changed from 7.2 (Frontend) to 7.4 (Backend)
Updated by Susanne Moog over 9 years ago
- Target version changed from 7.4 (Backend) to 7.5
Updated by Benni Mack about 9 years ago
- Target version changed from 7.5 to 7 LTS
Updated by Georg Ringer about 6 years ago
- Related to Task #83638: Remove sys_domain redirect functionality added
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.