Don't use incoming country prefix if request is not from the site

nedjo - October 18, 2008 - 14:31
Project:Country code
Version:6.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:postponed (maintainer needs more info)
Description

Currently, a prefix will be used to set the country. This is used, e.g., in the country switcher block.

However, if a user is coming from offsite, e.g., following a link, s/he should get the IP-based country.

#1

nedjo - October 18, 2008 - 23:16
Status:active» needs review

Introduced a setting, 'country_code_external', and a corresponding test, _country_code_is_external(). Looks like it shd work but I haven't tested.

#2

catch - December 10, 2008 - 14:04
Status:needs review» postponed (maintainer needs more info)

Since the patch is already in, marking as active (needs more info) for the testing.

 
 

Drupal is a registered trademark of Dries Buytaert.