Bug #99628
closedRemove id from url on redirect
0%
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.
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.
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.