Blog

Luis Majano

July 24, 2018

Spread the word


Share your thoughts

What's New With 5.1.2

This is a patch release for ColdBox

Bugs/Regressions

  • [COLDBOX-711] - HTML helper cannot add fontawesome icons in button due to XSS enabled by default
  • [COLDBOX-712] - ColdBox shutdown code that uses CF mappings for modules fails on fwreinit
  • [COLDBOX-713] - addAsset throw error when called from handlers

Improvements

  • [COLDBOX-714] - Too many issues when encoding by default for HTML Helper, revert to non-encoded and provide ways to encode globally and a-la-carte

HTML Helper Changes

The HTML Helper has been migrated to an internal module in this release. It allows you to configure it via the following configuration settings in your ColdBox.cfc.

moduleSettings = {
    htmlHelper = {
        // Base path for loading JavaScript files
        js_path = "",
        // Base path for loading CSS files
        css_path = "",
        // Auto-XSS encode values when using the HTML Helper output methods
        encodeValues = false
    }
}

Injection Shortcut

You can also now inject the HTML helper anywhere using it's injection DSL Shortcut of @HTMLHelper

Add Your Comment

Recent Entries

Are you attending Adobe CFSummit 2024?

Are you attending Adobe CFSummit 2024?

If you are attending the Adobe ColdFusion Summit 2024, this is what you need to know: As always, Ortus Solutions will be sponsoring this years event as Silver Sponsors, we are excited to meet all the new attendees and old friends of the community of Coldfusion developers

Maria Jose Herrera
Maria Jose Herrera
September 10, 2024
New BoxLang Feature: Functional binding to member methods

New BoxLang Feature: Functional binding to member methods

We’re excited to unveil a new feature that makes method referencing in BoxLang even smoother. Building on our recent update introducing functional static binding to built-in functions, we're now bringing the same ease to member methods.

Maria Jose Herrera
Maria Jose Herrera
September 09, 2024