Pete Freitag Pete Freitag

Pete Freitag's Homepage

Left and Right Accept Negative Counts

Here’s something I learned re-learned recently: you can pass negative values into the left() and right() functions in CFML. Thanks to John Whish for pointing this out in a pull request on

Fixinator fixes unscoped variables

Last week's Adobe ColdFusion security update disabled searchImplicitScopes by default. Prior to that update, and for the past twenty five years, ColdFusion would search through the all the possible scopes until it found a matching variable....

ColdFusion searchImplicitScopes and APSB24-14

Adobe has published a ColdFusion Security Hotfix APSB24-14 today which describes "a critical vulnerability that could lead to arbitrary file system read"....

Lucee RCE Vulnerabilities February 2024

Last week security researchers from Project Discovery published details on three Lucee vulnerabilities:...

DNS over HTTPS is not what I thought

A few months ago I was on a mission to remove some of the old broken links on my blog. I started blogging back in 2002, so many of the sites that I linked to twenty years ago were no longer active, or no longer under the same ownership....

Remove the Server Header in any IIS Version

Removing the Server Header as of IIS 10 (the version of IIS installed by default on Windows Server 2016, 2019 or 2022) is now much easier than it had been with prior versions of IIS....

Self Signed Certificates in Edge on Windows 2022

When setting up a server for training purposes I wanted to create a self signed certificate for and trust it in Edge on Windows Server 2022....

The newline cat mystery

I ran into a really strange problem today, whenever I would write a file it would show up as empty on my file system....

Ticket to ColdFusion Summit 2023

The Adobe ColdFusion Summit is coming up in October. I will be speaking at the conference, and my company Foundeo is also one of the conference sponsors....

Into The Box 2023 Slides

I'm back from Houston Texas after another great Into the Box conference. Slides for my talk Taming the top 25 Most Dangerous Software Weaknesses can be found here....

File Created Date Time in ColdFusion / CFML

Today I needed to get the time that a file was created from within some CFML code. I had first thought that cfdirectory or directoryList would return this, but it only returns the date the a file was modified, not the date that it was created....

Speaking at ColdFusion Summit Online Next Week

I will be giving my talk Taming the Top 25 Most Dangerous Software Weaknesses (for ColdFusion Developers) next Tuesday, December 6th 2022 at 1pm US Eastern Time. You will need to register with Adobe to join, it's free....

Here are some of the most popular entries I've written over the past twenty plus years.

Finding Duplicates with SQL

Howto Create an RSS 2.0 Feed

The 15 Essential Linux commands

Parsing, Modifying, and outputting XML Documents with Java

SELECT a random row with SQL

What is the difference between ASCII Chr(10) and Chr(13)

20 ways to Secure Apache Configuration

SQL Pagination with LIMIT and OFFSET

How I cut AWS Lambda Java Cold Start Times in Half

How to read a ColdFusion Stacktrace

The weekly newsletter for the CFML Community