Skip to content
This repository was archived by the owner on Feb 13, 2020. It is now read-only.

Conversation

@bobvanderclay
Copy link

If an empty asset-merger.folder is specified (we put the rendered script and style directories into the root directory), Kohana_Assets::web_path returns a path with a leading slash.

This path is passed to Html::script and Html::style, which combines it with the path in Url::base (which returns a trailing slash), which results in doubles slashes in the URL. In some cases this has caused an issue.

I've used ltrim to remote the leading slash.

@samwilson
Copy link

👍

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants