Repository navigation
COLDBOX-1482: strip leading slash from proxy component path - #742
Conversation
…elfAutoWire Extract path derivation into getProxyComponentPath() and remove leading slashes before converting separators to dots, so /remote/MyProxy.cfc no longer becomes .remote.MyProxy. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019aF6okUSkxZW3STzeV7Q9B
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019aF6okUSkxZW3STzeV7Q9B
|
CI status on The failing spec is It is also red on Generated by Claude Code |
Description
ColdboxProxy.selfAutoWire()turnedCGI.SCRIPT_NAMEinto a component path without removing the leading/, so/remote/textMessagesProxy.cfcbecame.remote.textMessagesProxy. This extracts the logic into a privategetProxyComponentPath()helper and removes leading slashes before converting separators to dots.Jira Issues
https://ortussolutions.atlassian.net/browse/COLDBOX-1482
Type of change
Checklist
Testing notes: the helper was verified on BoxLang via miniserver for four cases (no context root,
/approot,/root, nested.bx). The new TestBox spec andformat:checkhave not been run locally.Generated by Claude Code