Changeset 7346 for config

Show
Ignore:
Timestamp:
03/01/08 22:58:21 (9 months ago)
Author:
otsune
Message:

config/proxy.pac/dolipo/otsune-proxy.pac: remove domain.move to uncachable

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • config/proxy.pac/dolipo/otsune-proxy.pac

    r7290 r7346  
    55var proxy_no  = "DIRECT"; 
    66 
    7     if (isPlainHostName(host) 
    8          || isInNet(host, "10.0.0.0", "255.0.0.0") 
    9          || isInNet(host, "127.0.0.0", "255.0.0.0") 
    10          || isInNet(host, "169.254.0.0", "255.255.0.0") 
    11          || isInNet(host, "192.168.0.0", "255.255.0.0") 
    12       ) { return proxy_no; } 
     7    if (isPlainHostName(host)) 
     8        { return proxy_no; } 
    139    if (url.substring(0, 4) == "ftp:") 
    1410        { return proxy_no; } 
    1511    if (dnsDomainIs(host, "2ch.net")) 
    1612        { return proxy_no; } 
    17     if (shExpMatch(url, "http://www.tumblr.com/api/write/*")) 
    18         { return proxy_no; } 
    19     if (shExpMatch(url, "http://www.lingr.com/api/*")) 
    20         { return proxy_no; } 
    21     if (shExpMatch(url, "http://twitter.com/statuses/*")) 
    22         { return proxy_no; } 
    23     if (shExpMatch(url, "http://www.google.com/reader/atom/*")) 
    24         { return proxy_no; } 
    25     if (shExpMatch(url, "http://*.megalodon.jp/*")) 
    26         { return proxy_no; } 
     13//    if (shExpMatch(url, "http://www.tumblr.com/api/write/*")) 
     14//        { return proxy_no; } 
     15//    if (shExpMatch(url, "http://www.lingr.com/api/*")) 
     16//        { return proxy_no; } 
     17//    if (shExpMatch(url, "http://twitter.com/statuses/*")) 
     18//        { return proxy_no; } 
     19//    if (shExpMatch(url, "http://www.google.com/reader/atom/*")) 
     20//        { return proxy_no; } 
     21//    if (shExpMatch(url, "http://*.megalodon.jp/*")) 
     22//        { return proxy_no; } 
    2723    if (localHostOrDomainIs(host, "idisk.mac.com")) 
    2824        { return proxy_no; } 
     25    if (isInNet(host, "10.0.0.0", "255.0.0.0") || 
     26        isInNet(host, "127.0.0.0", "255.0.0.0") || 
     27        isInNet(host, "169.254.0.0", "255.255.0.0") || 
     28        isInNet(host, "192.168.0.0", "255.255.0.0") 
     29      ) { return proxy_no; } 
    2930 
    3031return proxy_yes;