xiongtong3 / switchy

Automatically exported from code.google.com/p/switchy
0 stars 0 forks source link

IE does not support PAC file URL generated by Switchy #213

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Choose Auto Swith Mode
2. Try to visit some website in IE

What is the expected output?
The website should be opened

What do you see instead?
The website could not be opened

Operating system:
Windows

Error Log:
N/A

Please provide any additional information below. Attach a screenshot if
possible.

The PAC URL in IE is something like: 
file://C:/Users/xxx/AppData/Local/Google/Chrome/User%20Data/Default/Extensions/c
aehdcpeofiiigpdhbabniblemipncjj/SwitchyAuto.pac?1282787112829

Actually, both the "%20" which is space and the suffix string "?1282787112829" 
could not be understood by IE.

Original issue reported on code.google.com by hxliang1...@gmail.com on 26 Aug 2010 at 1:46

GoogleCodeExporter commented 9 years ago
set settings to not revert change made by other programs
and
remove the string after .pac

Original comment by zeusv...@gmail.com on 26 Sep 2010 at 8:36

GoogleCodeExporter commented 9 years ago
yes, i could do that, but if i switch it to some other profile and then switch 
it back, i will get the problem again.

Original comment by hxliang1...@gmail.com on 26 Sep 2010 at 11:47

GoogleCodeExporter commented 9 years ago
I don't understand what you meant by "profile"
And I use Linux\Debian Sid\aptosid, KDE. So our systems are different.
Windows are known to ill-support pac (which is the backend for proxyswitchy, 
and it's getting worse after XP, I heard.

Original comment by zeusv...@gmail.com on 26 Sep 2010 at 2:27

GoogleCodeExporter commented 9 years ago
here by profile, i means the proxy profile of switchy, the first tab of swichy 
configuration.

yes, it is rather bad, and that is what made me a headache. i'm here to ask for 
help. seems that currently, there is no perfect solution, only workaround.

Original comment by hxliang1...@gmail.com on 26 Sep 2010 at 2:54

GoogleCodeExporter commented 9 years ago
Following is only my assumption.

set settings to not revert change made by other programs
Manually change IE's pac settings to SwitchyAuto.pac

Good luck.

Original comment by zeusv...@gmail.com on 26 Sep 2010 at 3:08

GoogleCodeExporter commented 9 years ago
This problem is annoying, and i tried to solve it by creating a NTFS junction 
from  User%20Data to "User Data". However, the trailing "?data" problem still 
remains.

Original comment by longbiaochen on 2 Jan 2011 at 3:43

GoogleCodeExporter commented 9 years ago
After all, I've located the code where the trailing string are generated, and 
deleted the generated part. It works.
The file affected is located at: "\1.6.3_0\assets\scripts\ruleManager.js", and 
I've uploaded my patched file below. Good luck.

Original comment by longbiaochen on 2 Jan 2011 at 3:57

Attachments:

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
both works. i create junction, and apply your patch.

Original comment by hxliang1...@gmail.com on 6 Jan 2011 at 6:32