To Nick Johnson, I am normal visitor now, I didn't do any URL encoding, I use the popular browser, including Chrome from google.
I want to making a comparison between popular Web Server(Google Search Server,Yahoo Search Server,Wikipedia.org) and RFC follower (ghs.google.com: admins.googleapps.com) I copy this four url to Chrome and running Wireshark(Ethereal) monitor in sync: http://www.google.com/search?hl=en&q=error|400+^bad+~request+{goog}+\to+[OR]+`go`&btnG=Search http://search.yahoo.com/search?hl=en&q=error|400+^bad+~request+{goog}+\to+[OR]+`go`&btnG=Search http://en.wikipedia.org/wiki/Special:Search?search=error|400+^bad+~request+{goog}+\to+[OR] http://admins.googleapps.com/system/app/pages/search?q=error|400 Here is the results: http://www.google.com/search?hl=en&q=error|400+^bad+~request+{goog}+\to+[OR]+`go`&btnG=Search GET /search?hl=en&q=error|400+^bad+~request+{goog}+\to+[OR] +`go`&btnG=Search HTTP/1.1 >>> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/525.19 (KHTML, like Gecko) Chrome/1.0.154.59 Safari/525.19 Cache-Control: max-age=0 Accept: text/xml,application/xml,application/xhtml+xml,text/ html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 Accept-Encoding: gzip,deflate,bzip2,sdch Cookie: SS=Q0=ZXJyb3J8NDAwIF5iYWQgfnJlcXVlc3Qge2dvb2d9IFx0byBbT1JdIGBnb2A; PREF=ID=fe12fd1a0173fe4f:U=353e139915e1a04d:TM=1241507257:LM=1241517635:S=fHsk8nSgRIhgbcMx; NID=22=DDPkCYZFMBGElbmJTDCMYlkTH9JiK-4s5wu7THnHryfRan12NsupUxZ22Ex93mtue8rIJPsvwkVnZIVkgcyiJORl_DKUI2VbjHaDUWuUiN5Zy5sekqS0n- Cy3sovwURW Accept-Language: en-US,en Accept-Charset: ISO-8859-1,*,utf-8 Host: www.google.com Connection: Keep-Alive <<< HTTP/1.1 200 OK Cache-Control: private, max-age=0 Date: Tue, 05 May 2009 11:33:50 GMT Expires: -1 Content-Type: text/html; charset=UTF-8 Set-Cookie: SS=Q0=ZXJyb3J8NDAwIF5iYWQgfnJlcXVlc3Qge2dvb2d9IFx0byBbT1JdIGBnb2A; path=/search Server: gws Transfer-Encoding: chunked Content-Encoding: gzip http://search.yahoo.com/search?hl=en&q=error|400+^bad+~request+{goog}+\to+[OR]+`go`&btnG=Search GET /search?hl=en&q=error|400+^bad+~request+{goog}+\to+[OR] +`go`&btnG=Search HTTP/1.1 >>> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/525.19 (KHTML, like Gecko) Chrome/1.0.154.59 Safari/525.19 Accept: text/xml,application/xml,application/xhtml+xml,text/ html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 Accept-Encoding: gzip,deflate,bzip2,sdch Cookie: B=3gbvl8150066s&b=3&s=20; sSN=5KQYzcU2wWFqlq8uHtcu48gBXYhpMjv2tjR8tsxUYrq6BvycSGmb1Ts5yrp1NVKxwkeoSp2zeGcJTf1S6N40CA-- Accept-Language: en-US,en Accept-Charset: ISO-8859-1,*,utf-8 Host: search.yahoo.com Connection: Keep-Alive <<< HTTP/1.1 200 OK Date: Tue, 05 May 2009 11:34:15 GMT P3P: policyref="http://p3p.yahoo.com/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV TAI PSA PSD IVAi IVDi CONi TELo OTPi OUR DELi SAMi OTRi UNRi PUBi IND PHY ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE GOV" Set-Cookie: sSN=WIMQEXg2wWEmn_LKPNkqX7ool_yNxuPZoR9VrTk.ii7Je1Z9ECrJKyBmpH1huFCtdplpzDZQPgM7y6UUpvgHsA--; path=/; domain=.search.yahoo.com Cache-Control: private Connection: close Transfer-Encoding: chunked Content-Type: text/html; charset=UTF-8 Content-Encoding: gzip http://en.wikipedia.org/wiki/Special:Search?search=error|400+^bad+~request+{goog}+\to+[OR] GET /wiki/Special:Search?search=error|400+^bad+~request+{goog}+\to+ [OR] HTTP/1.1 >>> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/525.19 (KHTML, like Gecko) Chrome/1.0.154.59 Safari/525.19 Accept: text/xml,application/xml,application/xhtml+xml,text/ html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 Accept-Encoding: gzip,deflate,bzip2,sdch Accept-Language: en-US,en Accept-Charset: ISO-8859-1,*,utf-8 Host: en.wikipedia.org Connection: Keep-Alive <<< HTTP/1.0 200 OK Date: Tue, 05 May 2009 11:34:25 GMT Server: Apache X-Powered-By: PHP/5.2.4-2ubuntu5wm1 Cache-Control: private, s-maxage=0, max-age=0, must-revalidate Content-Language: en Vary: Accept-Encoding,Cookie X-Vary-Options: Accept-Encoding;list-contains=gzip,Cookie;string- contains=enwikiToken;string-contains=enwikiLoggedOut;string- contains=enwiki_session;string-contains=centralauth_Token;string- contains=centralauth_Session;string-contains=centralauth_LoggedOut Expires: Thu, 01 Jan 1970 00:00:00 GMT Content-Encoding: gzip Content-Length: 4546 Content-Type: text/html; charset=utf-8 X-Cache: MISS from sq24.wikimedia.org X-Cache-Lookup: MISS from sq24.wikimedia.org:3128 X-Cache: MISS from sq16.wikimedia.org X-Cache-Lookup: MISS from sq16.wikimedia.org:80 Via: 1.1 sq24.wikimedia.org:3128 (squid/2.7.STABLE6), 1.0 sq16.wikimedia.org:80 (squid/2.7.STABLE6) Connection: keep-alive http://admins.googleapps.com/system/app/pages/search?q=error|400 GET /system/app/pages/search?q=error|400 HTTP/1.1 >>> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/525.19 (KHTML, like Gecko) Chrome/1.0.154.59 Safari/525.19 Cache-Control: max-age=0 Accept: text/xml,application/xml,application/xhtml+xml,text/ html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 Accept-Encoding: gzip,deflate,bzip2,sdch Accept-Language: en-US,en Accept-Charset: ISO-8859-1,*,utf-8 Host: admins.googleapps.com Connection: Keep-Alive <<< HTTP/1.1 400 Bad Request Content-Type: text/html; charset=UTF-8 Date: Tue, 05 May 2009 11:51:37 GMT Expires: Tue, 05 May 2009 11:51:37 GMT Cache-Control: private, max-age=0 X-Content-Type-Options: nosniff Transfer-Encoding: chunked Content-Encoding: gzip Server: GFE/1.3 On May 5, 7:05 pm, "Nick Johnson (Google)" <[email protected]> wrote: > The RFC is clear as to what characters are acceptable in the query > string part of a HTTP URL. | is not one of these characters, so if > your browser is sending one, it's an issue either with your browser or > with your URL encoding. > > -Nick Johnson --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~----------~----~----~----~------~----~------~--~---
