ASCII-encode pacScript for PAC profiles.

This commit is contained in:
FelisCatus 2014-12-18 19:44:35 +08:00
parent cee374833f
commit 1ccdff1d7b

View File

@ -133,7 +133,7 @@ class ChromeOptions extends OmegaTarget.Options
url: profile.pacUrl url: profile.pacUrl
mandatory: true mandatory: true
else else
data: profile.pacScript data: OmegaPac.PacGenerator.ascii(profile.pacScript)
mandatory: true mandatory: true
else if profile.profileType == 'FixedProfile' else if profile.profileType == 'FixedProfile'
config = @_fixedProfileConfig(profile) config = @_fixedProfileConfig(profile)