How does one add a redirect from a URL that has "%23"?

Created on 25 February 2014, almost 11 years ago
Updated 16 May 2024, 8 months ago

Here's a puzzle, hopefully some Drupaler out there can help.

How do I redirect from a URL with "%23" in it?
We know of a site that has their link to us referencing one of our nodes with a fragment. But they've used "%23" instead of "#" so our site is showing a not-found page instead.

Is there a way to set a redirect with "%23" in the from URL? The redirect module keeps converting the "%" to "%25", so it doesn't match the request. And using a straight "#" doesn't validate - but, even if it did, the module probably thinks it's a circular redirect to itself.

What would be a good solution?
(... other than getting the other site to fix their links, which doesn't seem like it's very possible.)

πŸ’¬ Support request
Status

Fixed

Component

User interface

Created by

πŸ‡ΊπŸ‡ΈUnited States jefftrnr

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024