Details
Assignee
Michael OffnerMichael OffnerReporter
Tim ParkerTim ParkerPriority
MajorLabels
New Issue warning screen
Before you create a new Issue, please post to the mailing list first https://dev.lucee.org
Once the issue has been verified, one of the Lucee team will ask you to file an issue
Sprint
Affects versions
Details
Details
Assignee
Michael Offner
Michael OffnerReporter
Tim Parker
Tim ParkerPriority
Labels
New Issue warning screen
Before you create a new Issue, please post to the mailing list first https://dev.lucee.org
Once the issue has been verified, one of the Lucee team will ask you to file an issue
Sprint
Affects versions
Created 11 September 2019 at 17:01
Updated 1 July 2023 at 15:37
<cfset someTarget={some URL containing one or more extended characters}>
<cflocation url="#someTarget#">
>> Extended chars here become question marks... and the result is 404
Using CFHeader instead... resolves the problem:
<cfheader charset="utf-8" name="location" value="#someTarget#">
<cfheader statuscode="302">
CFLocation should respect the active character set - or should provide a 'charset' attribute so it can be explicitly specified.
========
ACF (all recent versions) has the same problem, and it appears that they refuse to fix it... but Lucee can do better
This problem is well documented in a StackOverflow article and an Adobe bug report:
https://stackoverflow.com/questions/25979344/redirect-to-utf-8-url-with-coldfusion
https://tracker.adobe.com/#/view/CF-3830375