23 thoughts on “游魂”

  1. 任意输入返回

    Google
    Error
    Bad Request
    Your client has issued a malformed or illegal request.

  2. Bad Request
    Your client has issued a malformed or illegal request.

    使用FireFox 3.04中文版

  3. > 可能是编码没传递对,或者是你的浏览器有bug。用纯英文测试一次。
    GET /cse?cx=002738526072085205241%3Aspknw2mps0q&cof=FORID%3A9&ie=UTF-8&newwindow=1&lr=lang_zh-CN%7Clang_zh-TW&q=test&sa=%E8%BE%93%E5%85%A5%E4%BD%A0%E6%83%B3%E6%89%BE%E8%8C%AC%E7%9A%84%E5%8A%A8%E7%94%BB%E5%90%8D%E7%A7%B0%EF%BC%8C%E7%84%B6%E5%90%8E%E7%82%B9%E5%87%BB%E8%BF%99%E9%87%8C%E6%90%9C%E7%B4%A2%EF%BC%8C%E5%B7%B2%E8%87%AA%E5%8A%A8%E9%99%90%E5%88%B6%E6%90%9C%E7%B4%A2%E8%8C%83%E5%9B%B4&ad=w9&num=10&rurl=https%3A%2F%2Fbitinn.net%2Fl%2Fneta.php%3Fcx%3D002738526072085205241%253Aspknw2mps0q%26cof%3DFORID%253A9%26ie%3DUTF-8%26newwindow%3D1%26lr%3Dlang_zh-CN%257Clang_zh-TW%26q%3Dtest%26sa%3D%25E8%25BE%2593%25E5%2585%25A5%25E4%25BD%25A0%25E6%2583%25B3%25E6%2589%25BE%25E8%258C%25AC%25E7%259A%2584%25E5%258A%25A8%25E7%2594%25BB%25E5%2590%258D%25E7%25A7%25B0%25EF%25BC%258C%25E7%2584%25B6%25E5%2590%258E%25E7%2582%25B9%25E5%2587%25BB%25E8%25BF%2599%25E9%2587%258C%25E6%2590%259C%25E7%25B4%25A2%25EF%25BC%258C%25E5%25B7%25B2%25E8%2587%25AA%25E5%258A%25A8%25E9%2599%2590%25E5%2588%25B6%25E6%2590%259C%25E7%25B4%25A2%25E8%258C%2583%25E5%259B%25B4 HTTP/1.1

    Host: http://www.google.com

    User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9b5) Gecko/2008050509 Firefox/3.0b5

    Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8

    Accept-Language: en-us,en;q=0.5

    Accept-Encoding: gzip,deflate

    Accept-Charset: UTF-8,*

    Keep-Alive: 300

    Connection: keep-alive

    Referer: https://bitinn.net/l/neta.php?cx=002738526072085205241%3Aspknw2mps0q&cof=FORID%3A9&ie=UTF-8&newwindow=1&lr=lang_zh-CN%7Clang_zh-TW&q=test&sa=%E8%BE%93%E5%85%A5%E4%BD%A0%E6%83%B3%E6%89%BE%E8%8C%AC%E7%9A%84%E5%8A%A8%E7%94%BB%E5%90%8D%E7%A7%B0%EF%BC%8C%E7%84%B6%E5%90%8E%E7%82%B9%E5%87%BB%E8%BF%99%E9%87%8C%E6%90%9C%E7%B4%A2%EF%BC%8C%E5%B7%B2%E8%87%AA%E5%8A%A8%E9%99%90%E5%88%B6%E6%90%9C%E7%B4%A2%E8%8C%83%E5%9B%B4

    > 还不行的话去默认页面测试
    默认页面正常

  4. > http://neta.bitinn.net/
    亦正常

    > > 可能是编码没传递对,或者是你的浏览器有bug。用纯英文测试一次。
    > GET /cse?cx=0027385260720…
    我还以为店长会注意到url里面像%3D%25E8%25BE%2593这样奇怪的东西……

  5. 那是rurl参数的一部分(referer url),即便再次encode也没啥,sa里的也不过是submit按钮的文字罢了。

    我用哪个浏览器都没法reproduce error。

  6. > 那是rurl参数的一部分(referer url),即便再次encode也没啥,sa里的也不过是submit按钮的文字罢了。
    嗯 不是urlencode的问题.。

    > 我用哪个浏览器都没法reproduce error。
    仿佛是url过长的问题,我出问题的url长度有1064字节,任意字段删去一定长度都可以正常访问。

    也许跟特定服务器也有关,这里是这样的:
    http://www.google.cn canonical name = cn.l.google.com.
    Name: cn.l.google.com
    Address: 203.208.33.100
    Name: cn.l.google.com
    Address: 203.208.33.101

  7. 警告: 预期为选择器。 选择器错误导致忽略规则集。
    源文件:http://www.google.cn/custom?cx=002738526072085205241%3Aspknw2mps0q&cof=AH%3Aleft%3BCX%3A%25E6%258D%258F%25E5%25AE%2583%25E8%2590%25A5%25E6%2594%25B6%25E5%2589%25B2%25E9%25A2%2591%25E9%2581%2593%3BDIV%3A%23cccccc%3BFORID%3A9%3BGFNT%3A%23666666%3BL%3Ahttp%3A%2F%2Fwww.google.com%2Fcoop%2Fintl%2Fzh-Hans%2Fimages%2Fcustom_search_sm.gif%3BLH%3A65%3BLP%3A1%3BVLC%3A%23551a8b%3B&ie=UTF-8&newwindow=1&lr=lang_zh-CN%7Clang_zh-TW&q=%E3%81%82%E3%81%8B%E3%81%AD%E8%89%B2%E3%81%AB%E6%9F%93%E3%81%BE%E3%82%8B%E5%9D%82&sa=%E8%BE%93%E5%85%A5%E4%BD%A0%E6%83%B3%E6%89%BE%E8%8C%AC%E7%9A%84%E5%8A%A8%E7%94%BB%E5%90%8D%E7%A7%B0&ad=w9&num=10&rurl=https%3A%2F%2Fbitinn.net%2Fl%2Fneta.php%3Fcx%3D002738526072085205241%253Aspknw2mps0q%26cof%3DFORID%253A9%26ie%3DUTF-8%26newwindow%3D1%26lr%3Dlang_zh-CN%257Clang_zh-TW%26q%3D%25E3%2581%2582%25E3%2581%258B%25E3%2581%25AD%25E8%2589%25B2%25E3%2581%25AB%25E6%259F%2593%25E3%2581%25BE%25E3%2582%258B%25E5%259D%2582%26sa%3D%25E8%25BE%2593%25E5%2585%25A5%25E4%25BD%25A0%25E6%2583%25B3%25E6%2589%25BE%25E8%258C%25AC%25E7%259A%2584%25E5%258A%25A8%25E7%2594%25BB%25E5%2590%258D%25E7%25A7%25B0&adkw=AELymgVAmDv_HJdgsCBBU3VNL0rYFw8S-R9fyJcN8W3M91UoHzLTZImJzuuATTshT76RRdBjEeDd0KkuzVceMUejC1ChKZINdA9_otn-H4NO5JcN3qvsYm92jpdUcKNgC0uCCz6tmxIB&hl=zh-CN&oe=UTF-8&client=google-coop-np
    行:15

    警告: 搜索 非法规则集的闭合 } 时遇到不期望的文件结束符。
    源文件:http://www.google.cn/custom?cx=002738526072085205241%3Aspknw2mps0q&cof=AH%3Aleft%3BCX%3A%25E6%258D%258F%25E5%25AE%2583%25E8%2590%25A5%25E6%2594%25B6%25E5%2589%25B2%25E9%25A2%2591%25E9%2581%2593%3BDIV%3A%23cccccc%3BFORID%3A9%3BGFNT%3A%23666666%3BL%3Ahttp%3A%2F%2Fwww.google.com%2Fcoop%2Fintl%2Fzh-Hans%2Fimages%2Fcustom_search_sm.gif%3BLH%3A65%3BLP%3A1%3BVLC%3A%23551a8b%3B&ie=UTF-8&newwindow=1&lr=lang_zh-CN%7Clang_zh-TW&q=%E3%81%82%E3%81%8B%E3%81%AD%E8%89%B2%E3%81%AB%E6%9F%93%E3%81%BE%E3%82%8B%E5%9D%82&sa=%E8%BE%93%E5%85%A5%E4%BD%A0%E6%83%B3%E6%89%BE%E8%8C%AC%E7%9A%84%E5%8A%A8%E7%94%BB%E5%90%8D%E7%A7%B0&ad=w9&num=10&rurl=https%3A%2F%2Fbitinn.net%2Fl%2Fneta.php%3Fcx%3D002738526072085205241%253Aspknw2mps0q%26cof%3DFORID%253A9%26ie%3DUTF-8%26newwindow%3D1%26lr%3Dlang_zh-CN%257Clang_zh-TW%26q%3D%25E3%2581%2582%25E3%2581%258B%25E3%2581%25AD%25E8%2589%25B2%25E3%2581%25AB%25E6%259F%2593%25E3%2581%25BE%25E3%2582%258B%25E5%259D%2582%26sa%3D%25E8%25BE%2593%25E5%2585%25A5%25E4%25BD%25A0%25E6%2583%25B3%25E6%2589%25BE%25E8%258C%25AC%25E7%259A%2584%25E5%258A%25A8%25E7%2594%25BB%25E5%2590%258D%25E7%25A7%25B0&adkw=AELymgVAmDv_HJdgsCBBU3VNL0rYFw8S-R9fyJcN8W3M91UoHzLTZImJzuuATTshT76RRdBjEeDd0KkuzVceMUejC1ChKZINdA9_otn-H4NO5JcN3qvsYm92jpdUcKNgC0uCCz6tmxIB&hl=zh-CN&oe=UTF-8&client=google-coop-np
    行:15

    FF错误控制台里检查到的2个警告

  8. 以下是FF错误控制台查询到的2个警告

    警告: 搜索 非法规则集的闭合 } 时遇到不期望的文件结束符。
    源文件:http://www.google.cn/custom?cx=002738526072085205241%3Aspknw2mps0q&cof=AH%3Aleft%3BCX%3A%25E6%258D%258F%25E5%25AE%2583%25E8%2590%25A5%25E6%2594%25B6%25E5%2589%25B2%25E9%25A2%2591%25E9%2581%2593%3BDIV%3A%23cccccc%3BFORID%3A9%3BGFNT%3A%23666666%3BL%3Ahttp%3A%2F%2Fwww.google.com%2Fcoop%2Fintl%2Fzh-Hans%2Fimages%2Fcustom_search_sm.gif%3BLH%3A65%3BLP%3A1%3BVLC%3A%23551a8b%3B&ie=UTF-8&newwindow=1&lr=lang_zh-CN%7Clang_zh-TW&q=%E3%81%82%E3%81%8B%E3%81%AD%E8%89%B2%E3%81%AB%E6%9F%93%E3%81%BE%E3%82%8B%E5%9D%82&sa=%E8%BE%93%E5%85%A5%E4%BD%A0%E6%83%B3%E6%89%BE%E8%8C%AC%E7%9A%84%E5%8A%A8%E7%94%BB%E5%90%8D%E7%A7%B0&ad=w9&num=10&rurl=https%3A%2F%2Fbitinn.net%2Fl%2Fneta.php%3Fcx%3D002738526072085205241%253Aspknw2mps0q%26cof%3DFORID%253A9%26ie%3DUTF-8%26newwindow%3D1%26lr%3Dlang_zh-CN%257Clang_zh-TW%26q%3D%25E3%2581%2582%25E3%2581%258B%25E3%2581%25AD%25E8%2589%25B2%25E3%2581%25AB%25E6%259F%2593%25E3%2581%25BE%25E3%2582%258B%25E5%259D%2582%26sa%3D%25E8%25BE%2593%25E5%2585%25A5%25E4%25BD%25A0%25E6%2583%25B3%25E6%2589%25BE%25E8%258C%25AC%25E7%259A%2584%25E5%258A%25A8%25E7%2594%25BB%25E5%2590%258D%25E7%25A7%25B0&adkw=AELymgVAmDv_HJdgsCBBU3VNL0rYFw8S-R9fyJcN8W3M91UoHzLTZImJzuuATTshT76RRdBjEeDd0KkuzVceMUejC1ChKZINdA9_otn-H4NO5JcN3qvsYm92jpdUcKNgC0uCCz6tmxIB&hl=zh-CN&oe=UTF-8&client=google-coop-np
    行:15

  9. 警告: 预期为选择器。 选择器错误导致忽略规则集。
    源文件:http://www.google.cn/custom?cx=002738526072085205241%3Aspknw2mps0q&cof=AH%3Aleft%3BCX%3A%25E6%258D%258F%25E5%25AE%2583%25E8%2590%25A5%25E6%2594%25B6%25E5%2589%25B2%25E9%25A2%2591%25E9%2581%2593%3BDIV%3A%23cccccc%3BFORID%3A9%3BGFNT%3A%23666666%3BL%3Ahttp%3A%2F%2Fwww.google.com%2Fcoop%2Fintl%2Fzh-Hans%2Fimages%2Fcustom_search_sm.gif%3BLH%3A65%3BLP%3A1%3BVLC%3A%23551a8b%3B&ie=UTF-8&newwindow=1&lr=lang_zh-CN%7Clang_zh-TW&q=%E3%81%82%E3%81%8B%E3%81%AD%E8%89%B2%E3%81%AB%E6%9F%93%E3%81%BE%E3%82%8B%E5%9D%82&sa=%E8%BE%93%E5%85%A5%E4%BD%A0%E6%83%B3%E6%89%BE%E8%8C%AC%E7%9A%84%E5%8A%A8%E7%94%BB%E5%90%8D%E7%A7%B0&ad=w9&num=10&rurl=https%3A%2F%2Fbitinn.net%2Fl%2Fneta.php%3Fcx%3D002738526072085205241%253Aspknw2mps0q%26cof%3DFORID%253A9%26ie%3DUTF-8%26newwindow%3D1%26lr%3Dlang_zh-CN%257Clang_zh-TW%26q%3D%25E3%2581%2582%25E3%2581%258B%25E3%2581%25AD%25E8%2589%25B2%25E3%2581%25AB%25E6%259F%2593%25E3%2581%25BE%25E3%2582%258B%25E5%259D%2582%26sa%3D%25E8%25BE%2593%25E5%2585%25A5%25E4%25BD%25A0%25E6%2583%25B3%25E6%2589%25BE%25E8%258C%25AC%25E7%259A%2584%25E5%258A%25A8%25E7%2594%25BB%25E5%2590%258D%25E7%25A7%25B0&adkw=AELymgVAmDv_HJdgsCBBU3VNL0rYFw8S-R9fyJcN8W3M91UoHzLTZImJzuuATTshT76RRdBjEeDd0KkuzVceMUejC1ChKZINdA9_otn-H4NO5JcN3qvsYm92jpdUcKNgC0uCCz6tmxIB&hl=zh-CN&oe=UTF-8&client=google-coop-np
    行:15

  10. @古惑狼
    那两个错误无伤大雅,是CSS的错误。不过你的google.cn提醒了我。

    @bug
    我已将两个附加参数都去掉了(一个是链接打开新窗口,另一个是限制搜索结果为中文站),也把按钮的文字减少了,看看现在如何。

    我比较担心是国内google.cn的问题,按照古惑狼的链接,似乎google.cn会将搜索重定向到custom下,google.com默认使用cse(custom也行,但显示效果不同),怀疑是问题所在。

    如果是谷歌的问题,需要尝试向google.cn提交搜索。

  11. > 会将搜索重定向到custom下,默认使用cse(custom也行,但显示效果不同),怀疑是问题所在
    重定向会有什么问题?
    我觉得只是url长度问题。现在在/l搜索“一二三四五六七123”正常搜索“一二三四五六七1234”出错

  12. 还有一个问题,就是如果大陆IP的用户访问google.com时,DNS会自动选择解析成google.cn作为首选项…………我手动在google.cn里选择使用英文google.com后,这个问题就解决了…………喵的…………

  13. 的确是url的问题,但似乎只有谷歌的服务器会有这种问题;包括在google custom search engine support里的提问帖都是中国人在问(当然没人理,因为没人能reproduce error)。

    测试下这几个链接吧。

    链接1
    链接2
    链接3
    链接4
    链接5

    1是超长搜索词,在捏它营页面
    2是同样的搜索词在google.com的cse下
    3是同样的搜索词在google.com的custom下
    4是同样的搜索词在google.cn的cse下
    5是同样的搜索词在google.cn的custom下

    我的测试结果是全部没有问题。设置了使用英文google.com也不应该出错。

    PS:以前也有因为cookie过期出错的,不过那是gmail的问题。

  14. 第2个从google.com/cse转到了google.cn/custom。其他都没有302。

    嗯 也许是google.cn的服务器问题。

    google.com/cse是根据ip地理位置来重定向的?

  15. 综合两位的测试,将搜索改为了向google.com的custom页面提交(等于提交至第三个链接),使用client=google-coop-np限制了重复搜索框。

    希望可以吧。

    PS:cse只有在中国会重定向,估计是特别要求。

Comments are closed.