Project

General

Profile

Actions

Bug #99628

closed

Remove id from url on redirect

Added by Josua Vogel almost 2 years ago. Updated 4 months ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Form Framework
Target version:
-
Start date:
2023-01-19
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
11
PHP Version:
8.1
Tags:
Complexity:
Is Regression:
Sprint Focus:
On Location Sprint

Description

If a form uses the RedirectFinisher, the id is still present after the redirect (http://example.com/thank-you/#my-form). There might be no element with the id on the target page.
It would be better to remove the id part.

Actions #1

Updated by Georg Ringer 5 months ago

  • Sprint Focus set to On Location Sprint
Actions #2

Updated by Patricia Ottmar 4 months ago

Hi Josua,

I found W3C has an answer to this issue:

If URI1 has a fragment identifier #frag, then the new target that the user agent should be trying to reach would be URI2#frag. If URI2 already has a fragment identifier, then #frag must not be appended and the new target is URI2.

Wrong: Most current user agents do implement HTTP redirects but do not append the fragment identifier to the new URI, which generally confuses the user because they end up with the wrong resource.

https://www.w3.org/TR/cuap/#uri

Actions #3

Updated by Benni Mack 4 months ago

  • Status changed from New to Closed

Closing this ticket - I think the reasoning from Patricia is valid. Nothing we can do.

Actions

Also available in: Atom PDF