Skip to content

Support fragments in redirects  #2256

Open
@ehuss

Description

@ehuss

Problem

The redirect table does not support fragments. It would be helpful when section headings are changed to provide a way to redirect to the new location (whether or the same page, or a different page).

Proposed Solution

The redirect table should support # in the source and destination.
This is tricky because AFAIK native HTML does not support that. In my books, I have been using javascript redirects.
This would need to handle both scenarios where the original page still exists, and where it has been removed.
This should also consider any security issues like open redirects.

Notes

cc original issue #430

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-redirectArea: the HTML redirect tableC-enhancementCategory: Enhancement or feature request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions