I noticed this while working on #394560: DBTNG: Statistics module → and I tried to generate some referers to test my query.
I have a d7 site installed locally at "http://d7". I copied a file which contained links to that site to another virtual host, named it d7.html and clicked on the links. However, nothing showed up because "d7" is excluded from the referer list. This could also happen in the real world, if for example someone writes an article abour your new site and the URL contains "yourdomain.com". All referers from this site will not show up in the list.
A possible fix should be easy, we could exlude "'://' . $_SERVER['HTTP_HOST']" instead. This should still work for different protocols and so on and would only exlude referers which really contain the hostname at the beginning of the query.
Is there anything that I don't see? :) A possible set-up that wouldn't work with that exclude string?
No patch yet, will attach one when the statistics module is dbtng'ed :)
Closed: outdated
7.0 ⚰️
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.