Skip to content

Commit 84647c6

Browse files
committed
Lucee 6 compat updates
1 parent ae46072 commit 84647c6

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.github/workflows/tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
strategy:
1212
fail-fast: false
1313
matrix:
14-
cfengine: ["lucee@5", "adobe@2018", "adobe@2021", "adobe@2023", "boxlang@be"]
14+
cfengine: ["lucee@5", "lucee@6", "adobe@2018", "adobe@2021", "adobe@2023", "boxlang@be"]
1515
coldbox: ["coldbox@6", "coldbox@7"]
1616
steps:
1717
- name: Checkout Repository
@@ -28,7 +28,7 @@ jobs:
2828
- name: Install dependencies
2929
run: |
3030
box install
31-
box install ${{ matrix.coldbox }} --noSave
31+
box install ${{ matrix.coldbox }} --force --noSave
3232
3333
- name: Start server
3434
run: |

models/HyperBuilder.cfc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ component singleton {
7676
* @returns A new HyperRequest instance from the default request.
7777
*/
7878
public HyperRequest function new() {
79-
var req = this.defaults.clone();
79+
var req = this.defaults.duplicate();
8080
req.setBuilder( this );
8181
if ( !isNull( variables.fakeConfiguration ) ) {
8282
req.setFakeConfiguration( variables.fakeConfiguration );

models/HyperRequest.cfc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1283,7 +1283,7 @@ component accessors="true" {
12831283
req.setBody( duplicate( variables.body ) );
12841284
req.setBodyFormat( variables.bodyFormat );
12851285
req.setReferrer( isNull( variables.referrer ) ? javacast( "null", "" ) : variables.referrer );
1286-
req.setHeaders( variables.headers.clone() );
1286+
req.setHeaders( variables.headers.duplicate() );
12871287
req.setQueryParams( duplicate( variables.queryParams ) );
12881288
req.setFiles( duplicate( variables.files ) );
12891289
req.setThrowOnError( variables.throwOnError );

0 commit comments

Comments
 (0)