I changed the domain name inside one of my anymod projects today. I changed the domain name from formerly example.com to new-example.com. Same content otherwise.
I missed to realize I still had to do the whitelisting as everything looked perfectly all right on my browser-screen after I had altered the domain Name! Once I realized there is an issue nevertheless, I whitelisted new-example.com.
The issue I am reporting is this: The content got displayed although the (new) domain was not whitelisted.
This holds true at least for such browsers formerly successfully capable to display the content successfully.
Let me explain my last sentence further:
The page-content will load after the domain name is changed, even if the new domain name is not inside the whitelist of allowed domains, provided the page-content was formerly already once loaded successfully. At least that is my suspicion.
I am reporting this without any further tests on this matter.
My suspicion is that some anymod-data might be stored in my browsers localstorage maybe? And thus the content is allowed even though the domain is not whitelisted? Once I have loaded the page content successfully, I will always be allowed, no matter what? Or was I allowed only due to the fact I was logged in at anymod at that time? Could not say. But the page owner was also capable to see the content even though the domain was not whitelisted, and he was not logged in at anymod at that time.
As mentioned, the website owner also did not realize any issues, but the website owner today happened to proudly present his page to some of his clients! And those remained unable to load the page. Some pages did load, but they loaded painfully slow. I don’t now if this is related or not. I will just report the case the way it happened.
So: while me and the website owner where able to load the page although the domain was not whitelisted, other people who initially attempted to load that content for the first time, where not able to successfully load that content.