You are right.

/search?q=a|b work fine on google others search engine too, I think
the problem placed in ghs.google.com

On May 5, 3:15 am, Wooble <geoffsp...@gmail.com> wrote:
> RFC1738 requires unsafe characters, including '|', to be urlencoded.
> Why this works on appspot is a mystery, but I'd guess having it fail
> on a google apps domain has something to do with how ghs handles
> mapping URLs to applications.
>
> On May 3, 4:30 am, "Tag++" <tagpp.ad...@gmail.com> wrote:
>
> > Hi,all
>
> > My app: tagplusplus.appspot.com have bound to domain: gae.tagpp.com
>
> > Access URL                                      
> > Statushttp://tagplusplus.appspot.com/                    
> > OKhttp://tagplusplus.appspot.com/search?q=abc    
> > OKhttp://tagplusplus.appspot.com/search?q=a+b+c OKhttp://tagplusplus.appspot.com/search?q=a|b|c
> >      OK
>
> >http://gae.tagpp.com/                        
> >OKhttp://gae.tagpp.com/search?q=abc        
> >OKhttp://gae.tagpp.com/search?q=a+b+c            
> >OKhttp://gae.tagpp.com/search?q=a|b|c         Bad Request Error 400
>
> > app.yaml:
> > <pre>
> > application: tagplusplus
> > version: 1
> > runtime: python
> > api_version: 1
>
> > handlers:
>
> > - url: .*
> >   script: main.py
> > </pre>
>
> > main.py:
> > <pre>
> > class MainPage(webapp.RequestHandler):
> >         def get(self):
>
> >                 url = self.request.url
> >                 q = self.request.get('q')
> >                 s = ('Base: %s, %s' % (q,url))
> >                 logging.info(s)
> >                 self.response.out.write(s)
>
> > application = webapp.WSGIApplication([
> >         ('/.*', MainPage)
> > ], debug=True)
>
> > def main():
> >         wsgiref.handlers.CGIHandler().run(application)
>
> > if __name__ == '__main__':
> >         main()
>
> > </pre>
>
> > I found that the last one requesthttp://gae.tagpp.com/search?q=a|b|c(with
> > '|') can not reach to App engine,
>
> > there are not any Error/Exception messages produced on App engine end
> > while calling this url, it seems this
>
> > request have been denied in the front of App engine.
>
> > Client --> URL Checker/Reuest Dispatcher (ghs.google.com) --> Apps,
> > real request handler (gae.tagpp.com)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to