Skip to content

Bug 34366: Make Onion-Location keep fragments if the original URL had them

We received from the community a request to keep fragments when redirecting to the Onion Location.

As suggested in #34366 (closed), I implemented a behavior similar to the standard Location header: if the Onion-Location has a fragment, we use the provided one. Otherwise, if the document URL had a fragment, we inject it to the onion-location.

Merge request reports

Loading