阅读:3590回复:4
Firefox发送的请求中,Accept-Language一项有奇怪的信息。
最近无聊些了一个简易版的Web服务程序,注意到Firefox提交的内容有点奇怪。
下面是一次请求的信息。 GET / HTTP/1.1 Host: 202.121.210.105:8080 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.1b4) Gecko/20090423 Firefox/3.5b4 (.NET CLR 3.5.30729) Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Language: en-GB,en;q=0.7,chrome://global/locale/intl.properties;q=0.3 Accept-Encoding: gzip,deflate Accept-Charset: UTF-8,* Keep-Alive: 300 Connection: keep-alive Cache-Control: max-age=0 Accept-Language: en-GB,en;q=0.7,chrome://global/locale/intl.properties;q=0.3 请注意红色部分,不知道是哪来的。明显是某些控件错误加上去的吧? 晕,这个论坛的[code]标签不能嵌套颜色,我单独复制了一份出来了。 |
|
1楼#
发布于:2009-05-29 23:05
配置文件夹或者安装目录有没有这个路径所指的文件呢?
|
|
|
2楼#
发布于:2009-05-29 23:05
|
|
3楼#
发布于:2009-05-29 23:05
chrome://global/locale/intl.properties
贴入地址栏,内容如下 # all.js # # Localization Note: Cases of charset names must be preserved. If you're # adding charsets to your localized version, please refer to # intl/uconv/src/charsetalias.properties file for the list of canonical # charset names and use canonical names exactly as listed there. # Also note that "UTF-8" should always be included in intl.charsetmenu.browser.static general.useragent.locale=en-US # LOCALIZATION NOTE (pluralRule): Pick the appropriate plural rule for your # language. This will determine how many plural forms of a word you will need # to provide and in what order. # See: http://developer.mozilla.org/en/docs/Localization_and_Plurals pluralRule=1 # Localization Note: font.language.group controls the initial setting of the # language drop-down in the fonts pref panel. Set it to the value of one of the # menuitems in the "selectLangs" menulist in # browser/components/preferences/fonts.xul font.language.group=x-western # Localization Note: Add the code for your language at the front of this entry, # leaving "en-us, en" for fallback. It's recommended to use the same form, e.g. # "ja-jp, ja, en-us, en" intl.accept_languages=en-us, en intl.charsetmenu.browser.static=ISO-8859-1, UTF-8 intl.charsetmenu.browser.more1=ISO-8859-1, ISO-8859-15, IBM850, x-mac-roman, windows-1252, ISO-8859-14, ISO-8859-7, x-mac-greek, windows-1253, x-mac-icelandic, ISO-8859-10, ISO-8859-3 intl.charsetmenu.browser.more2=ISO-8859-4, ISO-8859-13, windows-1257, IBM852, ISO-8859-2, x-mac-ce, windows-1250, x-mac-croatian, IBM855, ISO-8859-5, ISO-IR-111, KOI8-R, x-mac-cyrillic, windows-1251, IBM866, KOI8-U, x-mac-ukrainian, ISO-8859-16, x-mac-romanian intl.charsetmenu.browser.more3=GB2312, x-gbk, gb18030, HZ-GB-2312, ISO-2022-CN, Big5, Big5-HKSCS, x-euc-tw, EUC-JP, ISO-2022-JP, Shift_JIS, EUC-KR, x-windows-949, x-johab, ISO-2022-KR intl.charsetmenu.browser.more4=armscii-8, GEOSTD8, TIS-620, ISO-8859-11, windows-874, IBM857, ISO-8859-9, x-mac-turkish, windows-1254, x-viet-tcvn5712, VISCII, x-viet-vps, windows-1258, x-mac-devanagari, x-mac-gujarati, x-mac-gurmukhi intl.charsetmenu.browser.more5=ISO-8859-6, windows-1256, IBM864, x-mac-arabic, x-mac-farsi, ISO-8859-8-I, windows-1255, ISO-8859-8, IBM862, x-mac-hebrew # Localization Note: Never change the following entry. intl.charsetmenu.browser.unicode=UTF-8, UTF-16LE, UTF-16BE, UTF-32, UTF-32LE, UTF-32BE intl.charset.default=ISO-8859-1 intl.charset.detector= intl.charsetmenu.mailedit=ISO-8859-1, ISO-8859-15, ISO-8859-6, armscii-8, geostd8, ISO-8859-13, ISO-8859-14, ISO-8859-2, GB2312, GB18030, Big5, KOI8-R, windows-1251, KOI8-U, ISO-8859-7, ISO-8859-8-I, windows-1255, ISO-2022-JP, EUC-KR, ISO-8859-10, ISO-8859-3, TIS-620, ISO-8859-9, UTF-8, VISCII # valid intl.menuitems.appendedacceskeys are: true or false, <empty string> (missing or empty preference equals false) intl.menuitems.alwaysappendaccesskeys= # valid intl.menuitems.insertseparatorbeforeaccesskeys are: true or false, <empty string> (missing or empty preference equals false) intl.menuitems.insertseparatorbeforeaccesskeys=true |
|
|
4楼#
发布于:2009-05-29 23:05
看过去这文件应该是安全的。
好像是可以汉化的文件。 |
|
|