Issue #3616488: Collapse double-slash image style routes
When the public scheme directory path is empty (bare CDN/bucket domain), concatenating '/' . $directory_path . '/styles/...' yields '//styles/...'. Browsers treat that as protocol-relative and the compiled route fails to match single-slash requests.
Co-authored-by: Cursor cursoragent@cursor.com
Closes #3616488