internalRequest REST support

Description

It’s currently failing at the checking for a file extension step, throwing

String ext = ResourceUtil.getExtension(template, null); // welcome files if (StringUtil.isEmpty(ext)) { throw new FunctionException(pc, "InternalRequest", 1, "template", "template path is invalid"); }

https://github.com/lucee/Lucee/blob/6.0/core/src/main/java/lucee/runtime/functions/system/InternalRequest.java#L96

which means we can’t write CI tests for the rest servlet

Environment

None

Activity

Show:

Details

Assignee

Reporter

Priority

New Issue warning screen

Before you create a new Issue, please post to the mailing list first https://dev.lucee.org

Once the issue has been verified, one of the Lucee team will ask you to file an issue

Created 11 September 2023 at 07:36
Updated 10 February 2025 at 12:35

Flag notifications