Newbie to CAS : URL encoding and pattern registry ?
Cantor, Scott
cantor.2 at osu.edu
Fri Jan 23 20:25:45 EST 2015
> Good question. I _thought_ that URL decoding was a built-in facility of most
> servlet containers. In that view, even if the client sends a request line like
>
> /idp/profile/cas/login?service=https%3A%2F%2Frp.example.com
> <http://2Frp.example.com> %2Fpath%2Fstart
>
> by the time HttpServletRequest#getParameter("service") is called, you
> ought to get the decoded URL. I believe I verified that recently. Are you
> seeing something different in your testing?
Yes, the container always decodes the data (once).
-- Scott
More information about the dev
mailing list