Project

General

Profile

Actions

Bug #13547

closed

Feature #13849: Add more status codes for external link errors

Special handling for HTTP 400 Bad request

Added by Philipp Gampe about 13 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Linkvalidator
Target version:
Start date:
2011-03-02
Due date:
% Done:

100%

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

Description

Currently those are reported as 404 which confuses the user.

Those 400 happen because getUrl (TYPO3 API) does not auto-prepend the path (HTTP GET) with a "/" if it is missing.
Browsers will fix this, so you do not know why TYPO3 returns a 404. This is really misleading.
http://bugs.typo3.org/view.php?id=16925

Solution: Add handling for 400.


Related issues 3 (0 open3 closed)

Related to TYPO3 Core - Bug #13432: 404 for external links with no redirectClosedPhilipp Gampe2011-02-28

Actions
Related to TYPO3 Core - Bug #12225: External Links with Redirects are reported as 404ClosedPhilipp Gampe2011-01-14

Actions
Related to TYPO3 Core - Task #28915: Refactor to t3lib_http_Request for external URLsClosedPhilipp Gampe2011-08-10

Actions
Actions #1

Updated by Philipp Gampe about 13 years ago

  • Subject changed from Special handling for HTTP 402 Bad request to Special handling for HTTP 400 Bad request
Actions #2

Updated by Philipp Gampe about 13 years ago

  • Parent task set to #13849

Do we really need this after fix for getUrl? This should not happen under normal conditions.

Actions #3

Updated by Philipp Gampe about 13 years ago

  • Status changed from New to Accepted
Actions #4

Updated by Mr. Hudson over 12 years ago

Patch set 1 of change Ib5d70f4c18fce2617dd9b4d0c675468c5c9558ed has been pushed to the review server.
It is available at http://review.typo3.org/4261

Actions #5

Updated by Mr. Hudson over 12 years ago

Patch set 2 of change Ib5d70f4c18fce2617dd9b4d0c675468c5c9558ed has been pushed to the review server.
It is available at http://review.typo3.org/4261

Actions #6

Updated by Philipp Gampe over 12 years ago

  • Status changed from Accepted to Resolved
  • % Done changed from 0 to 100

Applied in changeset commit:5096f769049686c74e5c22a42a8a303cbbdc2ff2.

Actions #7

Updated by Chris topher over 12 years ago

  • Target version set to 4.6.0
Actions #8

Updated by Chris topher about 12 years ago

  • Status changed from Resolved to Closed
Actions #9

Updated by Michael Stucki over 10 years ago

  • Category set to Linkvalidator
Actions

Also available in: Atom PDF