Skip to content

Add optional AutoClean interceptor registration#10

Merged
lmajano merged 1 commit into
developmentfrom
codex/cbantisamy-optional-autoclean-interceptor
Jun 25, 2026
Merged

Add optional AutoClean interceptor registration#10
lmajano merged 1 commit into
developmentfrom
codex/cbantisamy-optional-autoclean-interceptor

Conversation

@elpete

@elpete elpete commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Adds autoRegisterInterceptor, defaulting to true, so existing cbantisamy consumers keep automatic AutoClean registration.
  • Registers AutoClean@CBAntiSamy during onLoad() only when that setting is enabled, matching the conditional registration pattern used by the cors module.
  • Documents the new setting in the README module settings example.

Validation

  • box run-script format
  • box run-script format:check
  • box cfformat check ModuleConfig.cfc
  • git diff --check

@github-actions

Copy link
Copy Markdown

lucee@5 ColdBox ^7.0.0 Test Results

8 tests  ±0   8 ✅ ±0   0s ⏱️ ±0s
2 suites ±0   0 💤 ±0 
1 files   ±0   0 ❌ ±0 

Results for commit ec1a422. ± Comparison against base commit a330a8d.

@github-actions

github-actions Bot commented Jun 25, 2026

Copy link
Copy Markdown

lucee@5 ColdBox be Test Results

8 tests  ±0   8 ✅ ±0   0s ⏱️ ±0s
2 suites ±0   0 💤 ±0 
1 files   ±0   0 ❌ ±0 

Results for commit ec1a422. ± Comparison against base commit a330a8d.

♻️ This comment has been updated with latest results.

@github-actions

Copy link
Copy Markdown

lucee@5 ColdBox ^7.0.0 Test Results

8 tests  ±0   8 ✅ ±0   0s ⏱️ ±0s
2 suites ±0   0 💤 ±0 
1 files   ±0   0 ❌ ±0 

Results for commit ec1a422. ± Comparison against base commit a330a8d.

@github-actions

github-actions Bot commented Jun 25, 2026

Copy link
Copy Markdown

lucee@6 ColdBox be Test Results

8 tests  ±0   8 ✅ ±0   0s ⏱️ ±0s
2 suites ±0   0 💤 ±0 
1 files   ±0   0 ❌ ±0 

Results for commit ec1a422. ± Comparison against base commit a330a8d.

♻️ This comment has been updated with latest results.

@github-actions

github-actions Bot commented Jun 25, 2026

Copy link
Copy Markdown

boxlang-cfml@1 ColdBox be Test Results

8 tests  ±0   8 ✅ ±0   1s ⏱️ -1s
2 suites ±0   0 💤 ±0 
1 files   ±0   0 ❌ ±0 

Results for commit ec1a422. ± Comparison against base commit a330a8d.

♻️ This comment has been updated with latest results.

@github-actions

github-actions Bot commented Jun 25, 2026

Copy link
Copy Markdown

boxlang-cfml@1 ColdBox ^7.0.0 Test Results

8 tests  ±0   8 ✅ ±0   2s ⏱️ -1s
2 suites ±0   0 💤 ±0 
1 files   ±0   0 ❌ ±0 

Results for commit ec1a422. ± Comparison against base commit a330a8d.

♻️ This comment has been updated with latest results.

@github-actions

github-actions Bot commented Jun 25, 2026

Copy link
Copy Markdown

adobe@2023 ColdBox ^7.0.0 Test Results

8 tests  ±0   8 ✅ ±0   0s ⏱️ ±0s
2 suites ±0   0 💤 ±0 
1 files   ±0   0 ❌ ±0 

Results for commit ec1a422. ± Comparison against base commit a330a8d.

♻️ This comment has been updated with latest results.

@github-actions

github-actions Bot commented Jun 25, 2026

Copy link
Copy Markdown

adobe@2021 ColdBox ^7.0.0 Test Results

8 tests  ±0   8 ✅ ±0   0s ⏱️ ±0s
2 suites ±0   0 💤 ±0 
1 files   ±0   0 ❌ ±0 

Results for commit ec1a422. ± Comparison against base commit a330a8d.

♻️ This comment has been updated with latest results.

@github-actions

github-actions Bot commented Jun 25, 2026

Copy link
Copy Markdown

adobe@2023 ColdBox be Test Results

8 tests  ±0   8 ✅ ±0   0s ⏱️ ±0s
2 suites ±0   0 💤 ±0 
1 files   ±0   0 ❌ ±0 

Results for commit ec1a422. ± Comparison against base commit a330a8d.

♻️ This comment has been updated with latest results.

@github-actions

github-actions Bot commented Jun 25, 2026

Copy link
Copy Markdown

adobe@2021 ColdBox be Test Results

8 tests  ±0   8 ✅ ±0   0s ⏱️ ±0s
2 suites ±0   0 💤 ±0 
1 files   ±0   0 ❌ ±0 

Results for commit ec1a422. ± Comparison against base commit a330a8d.

♻️ This comment has been updated with latest results.

@elpete elpete marked this pull request as ready for review June 25, 2026 16:26
@lmajano lmajano merged commit d4946d9 into development Jun 25, 2026
30 checks passed
lmajano added a commit that referenced this pull request Jun 25, 2026
Merge pull request #10 from coldbox-modules/codex/cbantisamy-optional-autoclean-interceptor

Add optional AutoClean interceptor registration
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants