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

"102 Tips and Tricks for ColdBox HMVC Applications" out on Amazon

"102 Tips and Tricks for ColdBox HMVC Applications." is now available as an e-book, hardcover, and paperback formats. Whether you're a seasoned ColdFusion developer or just starting your journey, this book is a must-have addition to your library to become a master in CFML with modern tools.****

Maria Jose Herrera
Maria Jose Herrera
September 21, 2023
CFCast Series: Mastering CBWIRE 3

CFCast Series: Mastering CBWIRE 3

CBWIRE, a ColdBox module, enables you to quickly develop modern, responsive CFML applications without relying heavily on JavaScript or creating backend APIs. With CBWIRE, you can become a web development hero!

We have just published the first video of our series, more coming soon!

Maria Jose Herrera
Maria Jose Herrera
September 20, 2023