Open mariteaux opened 8 months ago
Trying it again and now it seems to be working. I'll leave it open in case anyone can reproduce and it can get closed if not.
So it does seem to redirect with the anchor (at least for me). But based on my understanding of anchors, this shouldn't actually work at all, and as such may be inconsistent between browsers.
This is very strange.
I'll need to research browser behavior regarding redirects and anchors later today.
Sheezy does its URL scanning server-side, and then passes a "confirmed safe" version of the URL back to the frontend for the eventual redirect. Unfortunately, URL hashes don't get sent to the server, so the hash gets lost - the site attempts to suffix the hash in the browser but it isn't always successful. Am of course open to changing this behaviour.
Describe the Issue In HTML, you can set an anchor at the end of a URL to skip to a certain section on the page you're linking to. These look like
#[page_id]
. Sheezy will accept these links and keep the anchor in the URL, but when you click on them, the outgoing link warning page scrubs the anchor and sends you to the page without it. I can't tell if this is intended behavior or not.To Reproduce
Expected Behaviour Ideally, skipping to the anchored section of the page. If these aren't supported, Sheezy should filter these when you make the link and that should be noted somewhere.
Device