core
core copied to clipboard
VanityURL redirect applying URL encoding instead of just redirecting.
Parent Issue
No response
Problem Statement
When using 301 or 302 redirects in VanityURLs URL Encoding is being applied.
For example, when there is a # within the URL, it is changing it to %23 which breaks the redirect.
Steps to Reproduce
Create a VanityURL that redirects to a URL with a # within it. In my testing I used the sitemap.xml vanity url on the demo and just set the redirect to a website that contains a # within the URL. and this reproduced the issue when trying to go to demo.dotcms.com/sitemap.xml
Acceptance Criteria
Prevent URL Encoding from being applied to redirects
dotCMS Version
23.10.24 LTS 24.09.20
Proposed Objective
Core Features
Proposed Priority
Priority 2 - Important
External Links... Slack Conversations, Support Tickets, Figma Designs, etc.
https://dotcms.freshdesk.com/a/tickets/27773
Assumptions & Initiation Needs
No response
Quality Assurance Notes & Workarounds
No response
Sub-Tasks & Estimates
No response