xiongtong3 / switchy

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

No Proxy For (Exception list) with more than 233 characters will not be set correctly on OSX #266

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Upon setting a proxy, the exception list is truncated at 233 characters when 
inspected in Network System Preferences. 

Tested on 10.6.5, Chrome 8.0.552.231, Switchy 1.6.3

What steps will reproduce the problem?
1. Options > (+) New Profile
2. Set any Name (e.g. TEST)
3. Set any proxy server/port (e.g. localhost:3128)
4. Set "No Proxy For" to anything longer than 233 characters>
5. Save then Close
6. Select the new Profile
7. System Preferences > Network > Proxies > "Bypass proxy settings..."
8. String in "Bypass proxy settings..." will only be 233 characters long.

What is the expected output?
Full string should be set in the Network proxy preferences.

What do you see instead?
Only the first 233 characters appear.

Operating system: Mac

Error Log: N/A

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

Here is a list of 300 0's that you can try to paste:
00000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000

http://www.javascriptkit.com/script/script2/charcount.shtml

Original issue reported on code.google.com by nort...@gmail.com on 3 Jan 2011 at 9:46

Attachments: