Hi all:
I'm Using GAE 1.5.0 java, reproduct the bug is easy:
protected void doGet( HttpServletRequest req, HttpServletResponse resp )
throws ServletException, IOException
{
UserService userService = UserServiceFactory.getUserService();
if( !userService.isUserLoggedIn() )
{
String loginUrl =
userService.createLoginURL(req.getRequestURI()+"?"+req.getQueryString())
req.sendRedirect(req);
}
}
so you will found that after user login and redirect back, the query string
is missing(in fact, only the first query string is remembered):
e.g.
request URL:
http://example.appspot.com/uri?q1=a&q2=b&q3=c
after user login it redirect to this url:
http://example.appspot.com/uri?q1=a
q2=b&q3=c is missing!
i search the forum and found about there are some thread about his, bug the
bug has been fixed long time ago:
one of them:
https://groups.google.com/forum/?pli=1#!searchin/google-appengine-java/createloginurl$20$20$20query/google-appengine-java/ZF4RjIm9NW4/FsMXEzqZbpUJ
the local devmode is all OK, but after deployed error occurs. and i didn't
have any filters in my web.xml
Could someone help me with it? thanks a lot.
--
You received this message because you are subscribed to the Google Groups
"Google App Engine for Java" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-appengine-java/-/eF9vTlpQQ2U5QklK.
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-java?hl=en.