Skip to content

Commit 05bfb8f

Browse files
committed
- Updated cleanup BIFS to use esapi encoding.
1 parent 550c682 commit 05bfb8f

File tree

5 files changed

+9
-8
lines changed

5 files changed

+9
-8
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
strategy:
1919
fail-fast: false
2020
matrix:
21-
cfengine: [ "lucee@5", "lucee@6", "adobe@2021", "adobe@2023" ]
21+
cfengine: [ "boxlang-cfml@1", "lucee@5", "lucee@6", "adobe@2021", "adobe@2023" ]
2222
coldboxVersion: [ "^7.0.0" ]
2323
experimental: [ false ]
2424
# Experimental: ColdBox BE vs All Engines
@@ -29,9 +29,6 @@ jobs:
2929
- coldboxVersion: "be"
3030
cfengine: "lucee@6"
3131
experimental: true
32-
- coldboxVersion: "be"
33-
cfengine: "adobe@2021"
34-
experimental: true
3532
- coldboxVersion: "be"
3633
cfengine: "adobe@2023"
3734
experimental: true

changelog.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99

1010
## [Unreleased]
1111

12+
### Changed
13+
14+
- Updated cleanup BIFS to use esapi encoding.
15+
1216
### Added
1317

1418
- BoxLang certification

models/protocols/FileProtocol.cfc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ component
118118
" );
119119
// Text or HTML Type
120120
if( arguments.mail.getProperty( "type", "text" ) eq "text" ){
121-
writeOutput( "<pre>#htmlCodeFormat( arguments.mail.getBody() )#</pre>" );
121+
writeOutput( "<pre>#encodeForHTML( arguments.mail.getBody() )#</pre>" );
122122
} else {
123123
writeOutput( "#arguments.mail.getBody()#" );
124124
}

readme.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@ Sending email doesn't have to be complicated or archaic or sad 😭. The ColdBox
2121

2222
| Protocol | Description |
2323
|---------------|-------------|
24-
| `CFMail` | Traditional sending via the `cfmail` tag. |
24+
| `CFMail` | Traditional sending via the `mail` component in the engine. |
2525
| `File` | Sends mails to a location on disk as `.html` files. |
2626
| `InMemory` | Store email mementos in an array. Perfect for testing. |
2727
| `Null` | Ignores emails send to it! |
2828
| `MailGun` | Sends mail via the Mailgun API Services (https://www.mailgun.com) |
29-
|`Postmark` | Send via the PostMark API Service (https://postmarkapp.com/) |
29+
| `Postmark` | Send via the PostMark API Service (https://postmarkapp.com/) |
3030

3131
It also sports tons of useful features for mail sending:
3232

[email protected]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,6 @@
2727
},
2828
"env":{},
2929
"scripts":{
30-
"onServerInitialInstall":"install bx-compat-cfml,bx-mail@be --noSave"
30+
"onServerInitialInstall":"install bx-compat-cfml,bx-mail --noSave"
3131
}
3232
}

0 commit comments

Comments
 (0)