We're updating the issue view to help you get more done. 

Calling canonicalize() with an empty string returns NULL

Description

If you call the canonicalize() function and pass-in an empty-string, the return value is NULL. The canonicalize() page - https://docs.lucee.org/reference/functions/canonicalize.html - states nothing about this behaviour. The docs state that a String is the return value and ACF returns a string.

See demonstration of behaviour: https://www.bennadel.com/blog/3556-calling-canonicalize-on-an-empty-string-returns-null-in-lucee-5-2-9-31.htm

Status

Assignee

Michael Offner

Reporter

Andrew Dixon

Labels

None

Sprint

None

Fix versions

Affects versions

5.2.9.31

Priority

New