Issues
- Log trace of cflocation and allow option to AbortLDEV-3720Resolved issue: LDEV-3720Igal Sapir
- cflocation change addToken to default to false for Lucee 6LDEV-3437Resolved issue: LDEV-3437Zac Spitzer
- cflocation sometimes encodes the fragment portion of the urlLDEV-2759Michael Offner
- CFLocation adds token when addToken is omitted and does not add as a queryLDEV-2550Resolved issue: LDEV-2550Pothys - MitrahSoft
- Improve error message - cflocation tag with end tag didn't work properlyLDEV-2538Resolved issue: LDEV-2538Michael Offner
- CFLocation broken when target URL contains extended charactersLDEV-2461Michael Offner
- cflocation automatically encodes url before redirectingLDEV-2164Resolved issue: LDEV-2164Michael Offner
- ERR_TOO_MANY_REDIRECTSLDEV-1834Resolved issue: LDEV-1834Pothys - MitrahSoft
- cflocation output html with plain text url (XSS possibility)LDEV-1662Resolved issue: LDEV-1662Michael Offner
Log trace of cflocation and allow option to Abort
Description
Attachments
duplicates
relates to
Details
Assignee
Igal SapirIgal SapirReporter
Igal SapirIgal SapirLabels
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
Fix versions
Priority
New
Details
Details
Assignee
Reporter
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
Fix versions
Priority
Activity
Brad Wood4 January 2023 at 18:44
Good to know. Is that why I also couldn’t get the logging to show up in the trace log in Lucee 5.3.9?
Zac Spitzer4 January 2023 at 08:48
good catch, seems it was added to the 5.3.8 branch, not 5.3
5.3 (aka 5.3.10)
5.4
Brad Wood3 January 2023 at 22:17Edited
I don’t see the abort attribute for cflocation in the docs:
Zac Spitzer16 November 2022 at 09:23
avoid a callstackget unless required
Zac Spitzer24 September 2021 at 15:01Edited
by default, the trace log is set to ERROR, if set to INFO, you now see the following style of entries
"INFO","http-nio-8888-exec-8","09/24/2021","16:57:20","cftrace","redirect to server.cfm?action=server.logging at /admin/server.logging.create.cfm:79; /admin/server.logging.cfm:66; /admin/web.cfm:492; /admin/server.cfm:2"
with abort=true, an exception is thrown like this
Applications that use cflocation heavily are difficult to debug. This enhancement will log a stack trace to the trace log and add the boolean attribute abort=[false] which when set to true, will throw an error instead of returning the cflocation header.