add application.mergeFormUrlAsStruct=true|false

Description

by default lucee merges ?s.a=1&s.b=2 into s= {a:1,b:1}

// application.cfc
this.mergeFormUrlAsStruct = false;

default is current behaviour of true

Activity

Show:
Zac Spitzer
October 24, 2020, 5:05 AM

unfortunately, this changes the lucee loader

Guardian
October 30, 2020, 8:42 AM

,

unfortunately, this changes the lucee loader

and what this mean, it will not be applied?

Zac Spitzer
October 30, 2020, 8:46 AM

the loader signature, i.e API for some for the core classes, only changes between major releases, so we will need a slightly alternative approach for configuring this value.

We need some wisdom from

Zac Spitzer
October 30, 2020, 7:37 PM

ah, i know, just need to follow this example

Zac Spitzer
November 1, 2020, 5:23 PM

Actually this related code probably needs refactoring, url and form scopes can be potentially reprocessed twice, given that scriptprotect is about to get somewhat stricter/heavier, this double handling ought to be avoided

Assignee

Zac Spitzer

Reporter

Zac Spitzer

Labels

Affects versions

Priority

New
Configure