You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When Piwik is accessed via localhost URL then piwikUrl in piwik_option DB table is overwritten with such URL. This is later causing images in e-mail reports being linked to localhost, so they are not displayed. The fix I discussed with @mattab is to make sure that piwikUrl is not overwritten with localhost or 127.0.0.1 etc.
The text was updated successfully, but these errors were encountered:
I don't know. I reckon it's to use the address that users usually actually use. Say there are 3 trusted hosts mentioned but only one is actually used by all of them. So we use the URL that was actually used. Doesn't really work though when different users use different URLs and would be confusing. So I guess there's another reason for this. Maybe @mattab knows more
yes, it's meant to select the Piwik URL that was last used. this feature was implemented before we had trusted hosts entries in the config file... but in general we couldn't unfortunately just use the trusted host, because 1) it would be BC break in 2.X, and 2) Piwik may be installed in a sub-path and the trusted host entries only contain the hostname
When Piwik is accessed via localhost URL then piwikUrl in piwik_option DB table is overwritten with such URL. This is later causing images in e-mail reports being linked to localhost, so they are not displayed. The fix I discussed with @mattab is to make sure that piwikUrl is not overwritten with localhost or 127.0.0.1 etc.
The text was updated successfully, but these errors were encountered: