dswitzer
02/01/2022, 3:38 PM<cflocation />
under Lucee with regards to encoding? I'm finding that it sometimes automatically encodes parameters, but not in all situations. Automatic encoding of parameters breaks ACF compatibility, because ACF doesn't do this.
https://dev.lucee.org/t/cflocation-encoding-of-url/9606zackster
02/01/2022, 3:38 PMdswitzer
02/01/2022, 3:39 PMzackster
02/01/2022, 3:40 PMdswitzer
02/01/2022, 3:40 PMdswitzer
02/01/2022, 3:41 PMdswitzer
02/01/2022, 3:41 PMdswitzer
02/01/2022, 3:43 PMdswitzer
02/01/2022, 3:45 PMAdam Cameron
<cflocation>
to be encoding anything. Especially given nothing in the documentation says it does.
It should be down to the person providing the string to the `url`attribute. Beyond that, <cflocation>
should operate on the basis of "garbage in, garbage out". If the person gives it a value that can't be used as a URL for whatever reason, then... error. Don't try to "fix" it by going "oh I know what they probably meant...". Especially if it only does that sometimes as Dan & the Jira ticket seem to be suggesting.dswitzer
02/01/2022, 4:07 PMdswitzer
02/01/2022, 4:08 PMdswitzer
02/01/2022, 4:09 PMdswitzer
02/01/2022, 4:15 PM