From ef6e221db629ccbcbe43cef1dd67dc74a903d3d2 Mon Sep 17 00:00:00 2001 From: James Moberg Date: Wed, 25 Nov 2026 09:24:56 -0800 Subject: [PATCH] Change hash function to use MD5 for app name Updated hash function to use the 'MD5' algorithm for application name. The application name is restricted to 64 characters, and the new default algorithm `SHA-256` can generate values that exceed this limit. --- guides/en/application.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guides/en/application.md b/guides/en/application.md index 90229a885..d40e4454f 100644 --- a/guides/en/application.md +++ b/guides/en/application.md @@ -7,7 +7,7 @@ This shows all of the built-in Application.cfc methods. ```cfml component { - this.name = "YourAppName" & hash(getCurrentTemplatePath()); + this.name = "YourAppName" & hash(getCurrentTemplatePath(), "MD5"); this.applicationTimeout = createTimeSpan(1,0,0,0); this.sessionTimeout = createTimeSpan(1,0,0,0); this.sessionManagement = true;