Add Redirect form breaks URLs containing spaces or %20

Created on 23 February 2012, about 13 years ago
Updated 20 May 2025, about 5 hours ago

I'm trying to add a redirect that redirects from "node/1234" to "magazines/Epilepsy Today" I get the following error:

The redirect path magazines/Epilepsy Today is not valid.

If I try to add "magazines/Epilepsy%20Today" it works but then double encodes the % giving %2520.

As a quick way of solving this I manually edited the row in the database to add the space in which works.

πŸ› Bug report
Status

Closed: duplicate

Version

1.0

Component

Code

Created by

πŸ‡¬πŸ‡§United Kingdom mikebell_

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