scucoco / switchy

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

auto switch mode set wrong pac url #338

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.switch to auto switch mode
2.
3.

What is the expected output?
PAC script: 
file:///C:/Users/username/AppData/Local/Google/Chrome%20SxS/User%20Data/Default/
Extensions/caehdcpeofiiigpdhbabniblemipncjj/SwitchyAuto.pac?1308125099303

What do you see instead?
PAC script: 
file:///C:/Users/username/AppData/Local/Google/Chrome%20SxS/User%20Data/Default/
Extensions/caehdcpeofiiigpdhbabniblemipncjj/SwitchyAuto.pacc?1308125099303

Operating system:
Windows

Error Log:
[16:15:25] [info] - Extension Info: v1.6.3
[16:15:25] [info] - Browser Info: 5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 
(KHTML, like Gecko) Chrome/14.0.792.0 Safari/535.1
[16:15:25] [success] - Everything is OK

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

Switch to any other profile get a right pac script url.

Original issue reported on code.google.com by zhumumu@gmail.com on 15 Jun 2011 at 8:17

GoogleCodeExporter commented 8 years ago
Same problem here:

[14:57:47] [info] - Extension Info: v1.6.3
[14:57:47] [info] - Browser Info: 5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 
(KHTML, like Gecko) Chrome/13.0.782.24 Safari/535.1
[14:57:47] [success] - Everything is OK

Original comment by leonz...@gmail.com on 16 Jun 2011 at 6:58

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Same problem after upgrade chrome to most recent dev build.

just a slightly difference that postfix of my pac file url is 
"c0?1308286224129".

Original comment by mweny...@gmail.com on 17 Jun 2011 at 5:04

GoogleCodeExporter commented 8 years ago
I use Chrome beta build and can also reproduce this problem.

Original comment by larryt...@gmail.com on 18 Jun 2011 at 5:12

GoogleCodeExporter commented 8 years ago
confirm this. it use *.pacc (double c) instead of *.pac

Original comment by twins.se...@gmail.com on 22 Jun 2011 at 6:25

GoogleCodeExporter commented 8 years ago
reproduced with chrome 14.0.808.0 switchyproxy 1.6.3

Original comment by xue...@gmail.com on 2 Jul 2011 at 8:30

GoogleCodeExporter commented 8 years ago
reduce this problem withe google chrome 12.0.742.112, please fix this problem.

Original comment by netroby....@gmail.com on 4 Jul 2011 at 3:09

GoogleCodeExporter commented 8 years ago
reproduced with chrome 14.0.803.0 switchyproxy 1.6.3

Original comment by duyi...@gmail.com on 6 Jul 2011 at 6:54

GoogleCodeExporter commented 8 years ago
fix npSwitchy.dll file

old:
0001b8c0h: 75 74 6F 2E 70 61 63 00 01 00 00 00 FF FF FF FF ; 
uto.pac.....

fix:
0001b8c0h: 75 74 6F 2E 70 61 63 00 00 00 00 00 FF FF FF FF ; 
uto.pac.....

old
"SwitchyAuto.pacc?1309966248003"

fix:
"SwitchyAuto.pac?1309966248003"

file 
C:\Users\Administrator\AppData\Local\Google\Chrome\User 
Data\Default\Extensions\caehdcpeofiiigpdhbabniblemipncjj\1.6.3_0\plugins\npSwitc
hy.dll
test ok

Original comment by snowwolf...@gmail.com on 6 Jul 2011 at 3:36

Attachments:

GoogleCodeExporter commented 8 years ago
Chrome 12.0.742.112 with Proxy Switchy! 1.6.3, Windows 7 64-bit

using this new npSwitchy.dll makes it work for me.  don't know if it matters, 
but in the "Use automatic configuration script" box it has:

file://C:/Users%5CCharlie%5CAppData%5CLocal%5CGoogle%5CChrome%5CUser%20Data%5CDe
fault%5CExtensions%5Ccaehdcpeofiiigpdhbabniblemipncjj%5CSwitchyAuto.pac?13105291
94696

%5C is equivalent to the backslash \.  still works, but it'd look better and be 
less likely to cause confusion if it showed the actual \.

Original comment by charlie....@gmail.com on 13 Jul 2011 at 4:00

GoogleCodeExporter commented 8 years ago
Chrome 12.0.742.112 with Proxy Switchy! 1.6.3, Windows 7 64-bit

New .dll doesnt resolve the issue here... I assume we just dump it in the dir, 
restart chrome, test the extension?

Original comment by azraelb@gmail.com on 14 Jul 2011 at 3:32

GoogleCodeExporter commented 8 years ago
Same here , when its on auto mode with some rules , it will create a <Current 
Profile> with a auto config file.

File's workpath is : 
file://C:/Users/Faker/AppData/Local/Google/Chrome/User%20Data/Default/Extensions
/caehdcpeofiiigpdhbabniblemipncjj/SwitchyAuto.pac?1310823551847

Windows 7 64bit - Chrome 13.0.782.55 beta-m

Original comment by powerl...@gmail.com on 16 Jul 2011 at 1:42

GoogleCodeExporter commented 8 years ago
Chrome 12.0.742.112 with Proxy Switchy! 1.6.3, Windows 7

The dll fixed the problem!

Original comment by pais.a...@gmail.com on 18 Jul 2011 at 2:10

GoogleCodeExporter commented 8 years ago
Created a installer for dll replacement.

snowwolf...@gmail.com , thanks for the fixed dll.

Original comment by powerl...@gmail.com on 19 Jul 2011 at 9:28

Attachments: