Closed Bug 658270 Opened 13 years ago Closed 5 years ago

Autoconfig file is needed to be converted to ROT13 for TB 3.1.10 for Windows only

Categories

(Thunderbird :: Preferences, defect)

x86_64
Windows 7
defect
Not set
major

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: fabien.dupont, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: regression)

User-Agent:       Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.57 Safari/534.24
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.1; fr; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10

We use autconfig since Firefox 1.5 and Thunderbird 1.0 with a great pleasure.
But, while testing the new 3.1.10 version of Thunderbird, I found that the autoconfig file isn't loading anymore and, worst of all, Thunderbird won't load anymore.

First, my customized config files :

greprefs/all.js :
pref("general.config.obscure_value", 0);
pref("general.config.filename", "autoconfig-onera.cfg");

autoconfig-onera.cfg :
// Autoconfig ONERA
try {
	lockPref("general.config.vendor", "autoconfig-onera");
	lockPref("autoadmin.global_config_url","http://www-sri.onecert.fr/cgi-bin/mozilla-glob-prefs-onera.cgi");
} catch(e) {
	 displayError("Error", e);
}

With this config, everything is OK for :
- Thunderbird 1.0 to 3.1.10 for Linux (CentOS 5.5)
- Thunderbird 1.5 to 3.0.11 for Windows (Windows XP x32 or Windows 7 x64)
- Firefox 1.5 to 4.0.1 for Linux or Windows

So, only with Thunderbird 3.1.10 for Windows 7 x64, the application won't load with a "Can't load configuration files" message...that's annoying.

The log file (with debugging activated) contains no particular errors :
0[932140]: general.config.filename = autoconfig-onera.cfg
0[932140]: evaluating .cfg file autoconfig-onera.cfg with obscureValue 0

After some research I found that the autoconfig file (autoconfig-onera.cfg here) need to be converted to ROT 13 (with http://www.alain.knaff.lu/howto/MozillaCustomization/cgi/byteshf.cgi for example) and general.config.obscure_value has to be set to 0 (zero).

Is it a bug ? a new feature ? maybe both ?

Reproducible: Always

Steps to Reproduce:
1.Install Thunderbird 3.1.11 for Windows 
2.Add an autoconfig file
3.Launch the application

Actual Results:  
The application can't start and a message saying "Can't load the configuration files" is displayed.

Expected Results:  
The application should start and load the autoconfig file correctly.
Version: unspecified → 3.1

This far down the track, I see the changes here documented at Mozillazine. http://kb.mozillazine.org/Locking_preferences

pref("general.config.obscure_value", 0); // only needed if you do not want to obscure the content with ROT-13

Status: UNCONFIRMED → RESOLVED
Closed: 5 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.