For Country-based masked sites, India will sometimes be configured as "in" on the module.
In the function section where we append the subpath to the request URL, we use strpos to accomplish the conditional lookup.
In the case of "SCRIPT_NAME" and "SCRIPT_FILENAME", these usually default to /index.php thus causing the issue to incorrectly match the lookup.
Background:
For Country-based masked sites, India will sometimes be configured as "in" on the module. In the function section where we append the subpath to the request URL, we use
strpos
to accomplish the conditional lookup.In the case of "SCRIPT_NAME" and "SCRIPT_FILENAME", these usually default to
/index.php
thus causing the issue to incorrectly match the lookup.