CFINCLUDE confused by case issue

I have a Lucee 4.x server on Linux. The files are accessed over Samba,
which isn’t case sensitive.

The code does

But I’m getting an error saying
“Page …/mdata.html [/wwwroot/…/mData.html] not found”

Note the change of case. If I rename the file from mdata to mData on the
server
in includes fine.

Any idea how to get Lucee to see the change in case ? Is it something in
mod_cfml maybe ?

Tom

Hi Tom,

It’s not modcfml. Modcfml is only involved untill Lucee picks up the request, not any further.

I did encounter a bug a while back, where the check on case sensitivity for a file resource was incorrectly done based on the OS being Linux or not (instead of the resource being case-sensitive or not): https://luceeserver.atlassian.net/plugins/servlet/mobile#issue/LDEV-582
I imagine this same bug, or a related one, results in the case-sensitive filename issue you are having.
The ldev-582 issue is already fixed in Lucee 5 btw :slight_smile:

Kind regards,

Paul Klinkenberg------------

Op 25 jan. 2016 om 18:06 heeft Tom Chiverton <@Tom_Chiverton> het volgende geschreven:

I have a Lucee 4.x server on Linux. The files are accessed over Samba, which isn’t case sensitive.

The code does

But I’m getting an error saying
“Page …/mdata.html [/wwwroot/…/mData.html] not found”

Note the change of case. If I rename the file from mdata to mData on the server in includes fine.

Any idea how to get Lucee to see the change in case ? Is it something in mod_cfml maybe ?

Tom

Love Lucee? Become a supporter and be part of the Lucee project today! - http://lucee.org/supporters/become-a-supporter.html

You received this message because you are subscribed to the Google Groups “Lucee” group.
To unsubscribe from this group and stop receiving emails from it, send an email to lucee+unsubscribe@googlegroups.com.
To post to this group, send email to lucee@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/e15e5a88-f93c-4113-a488-868e86c480fa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.