-
Notifications
You must be signed in to change notification settings - Fork 639
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[5.x]: Incorrect CP console request URLs #15374
Comments
We’ll discuss! |
Resolves #15374 # Conflicts: # CHANGELOG-WIP.md
Lovely, thanks! |
@brandonkelly we are now getting a typeError on the
|
@white-lukas Thanks for letting me know. Fixed via a94c6cd. |
@brandonkelly Did you push the fix for above typeError on the fallbackBaseUrl() for craft 4? I am still facing the below error when I upgraded my craft cms to 4.11.0.2. |
@sajjanstha Doh, forgot to apply the fix to Craft 4. Just tagged 4.11.1 with the same fix. |
What happened?
The commit 8e69802 addressed constructing URLs for console requests if the
@web
alias wasn’t explicitly defined. Should a similar change not also be applied to CP console requests to ensure that CP URLs are output as absolute URLs?Steps to reproduce
Expected behavior
The output should be
https://projectpath.ddev.site/admin
.Actual behavior
The output is
/admin
.Tested in Craft 5 but this likely affects Craft 4 as well.
Craft CMS version
5.2.7
PHP version
No response
Operating system and version
No response
Database type and version
No response
Image driver and version
No response
Installed plugins and versions
The text was updated successfully, but these errors were encountered: