- Issue created by @Grienauer
- First commit to issue fork.
- Merge request !40Issue #3512817: use relative file URL for icon and brand image → (Open) created by granik
If you Drupal Site and Hoster does something "magical" with domains and basic auth, the background image of the Login-page is leading to the wrong domain.
Drupal Site is e.g hostet at origin.example.com This subdomain has no CDN and should not be accessible and has a basic auth.
With some server magic, if you access example.com, it shows content (reverse proxy contents from origin.example.com) and has also a cdn/caching and firewall etc on top.
Gin Login has a coded path of the background image in the module:
https://git.drupalcode.org/project/gin_login/-/blob/2.1.x/gin_login.modu...
generateAbsoluteString
is making us problems, as it will provide the background image via origin.example.com. instead of example.com
setup a crazy hosting solution, so this can be testable… not.
replace generateAbsoluteString
with generateString
so this would be not a problem.
At least it would fix the problem for our nice server setup, we have in use ;)
check if the thing would work.
we can provide a patch if needed.
none
none
none
Active
2.1
Code