Skip to content

Commit

Permalink
Fixed #14559
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonkelly committed Mar 12, 2024
1 parent 01a1638 commit 5cb7493
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
- Fixed a bug where `craft\helpers\DateRange::dateIntervalByTimePeriod()` wasn’t accounting for DST changes.
- Fixed a bug where programmatically-updated `<textarea>`s weren’t triggering autosaves. ([craftcms/ckeditor#172](https://github.com/craftcms/ckeditor/issues/172))
- Fixed a JavaScript error that could occur when navigating between asset folders, when a JavaScript-based uploader was registered. ([#14542](https://github.com/craftcms/cms/pull/14542))
- Fixed a bug where action URLs were getting duplicate URI segments if Craft was installed in a subpath within the webroot. ([#14559](https://github.com/craftcms/cms/issues/14559))

## 4.8.1 - 2024-03-05

Expand Down
2 changes: 1 addition & 1 deletion src/helpers/UrlHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -621,7 +621,7 @@ private static function _createUrl(
}

if ($useRequestHostInfo) {
$baseUrl = Craft::getAlias('@web');
$baseUrl = static::hostInfo(Craft::getAlias('@web'));
} elseif ($showScriptName) {
$baseUrl = $request->getIsConsoleRequest() ? '/' : static::host();
} elseif ($cpUrl) {
Expand Down

0 comments on commit 5cb7493

Please sign in to comment.