#99628Remove id from url on redirect
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.
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.
History 3
-
Georg Ringer changed Sprint Focus On Location Sprint 06/19/24, 21:50
-
Patricia Ottmar commented 08/01/24, 21:35
-
Benni Mack commented and changed status
NewClosed 08/02/24, 18:45Closing this ticket – I think the reasoning from Patricia is valid. Nothing we can do.
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