dcsimg

Why doesn't response.sendRedirect(response.encodeURL(url)) work?

Alex Chaffee

Use response.sendRedirect(response.encodeRedirectURL(url)) instead. It will correctly rewrite the URL for clients that don't support cookies.