Forums / Bug Reports / [addons] Old language packs reveals admin URL to the customer

[addons] Old language packs reveals admin URL to the customer

Locked

Views: 1,135

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
13 Nov 2010, 11:22 AM
#1
info2share avatar

info2share

New Zenner

Join Date:
Oct 2010
Location:
Netherlands
Posts:
3
Plugin Contributions:
0

[addons] Old language packs reveals admin URL to the customer

When and admin sends a direct email to a customer, the secret admin URL is revealed in the standard copyright notice at the bottom of the email message.

The reason for this is that the default language file(s) use the function that constructs a URL to the admin site instead of a store URL.

Solution: find the define for EMAIL_FOOTER_COPYRIGHT in admin/includes/langugages/*/email_extras.php and replace zen_href_link(FILENAME_DEFAULT) with zen_catalog_href_link(FILENAME_DEFAULT)

Please fix this minor problem in the next release.

Arjan

13 Nov 2010, 11:35 AM
#2
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: [addons] Old language packs reveals admin URL to the customer

My stock test site doesn't do that.

13 Nov 2010, 11:42 AM
#3
info2share avatar

info2share

New Zenner

Join Date:
Oct 2010
Location:
Netherlands
Posts:
3
Plugin Contributions:
0

Re: [addons] Old language packs reveals admin URL to the customer

Sorry, I may have posted in the wrong forum. This code originates from several language packs, it's not in the official 1.3.9h distribution. This must be a warning to users of language packs.

Arjan

13 Nov 2010, 3:35 PM
#4
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: [addons] Old language packs reveals admin URL to the customer

Info2Share:

This code originates from several language packs, it's not in the official 1.3.9h distribution.
Have the language packs, or you run a compare against the change log for pack files that have a new version??
In almost all of them the /includes/languages/english.php changes and your /includes/languages/other_language.php file must be "merged"
And there are most likely others

Zen-Venom Get Bitten