When using rewriteConfig in commandbox, my FORM scope never seems to get populated when posting to a rewritten URL (in hindsight, this kinda sounds logical), but how can I fix this?
satauros
07/03/2023, 10:42 AM
Solved my own problem while writing this down. Was using
type="redirect"
in the XML config. Shouldn't have done that.
b
bdw429s
07/03/2023, 6:04 PM
@satauros I highly recommend looking into using Server Rules to use instead of the older, and sadly completely unsupported, Tuckey library.
👍 1
bdw429s
07/03/2023, 6:05 PM
Tuckey has become Java abandonware, and poses significant limitations for use in multi-context applications (ModCFML, and multi-site) due to its reliance on the servlet. CommandBox Server Rules (my fancy name for Undertow's Predicate Language) is the way to go moving forward and I'll be deprecating Tuckey i the 6.0 release.