Newbie to CAS : URL encoding and pattern registry ?
Tom Zeller
tzeller at dragonacea.biz
Fri Jan 23 20:57:13 EST 2015
On Fri, Jan 23, 2015 at 7:25 PM, Cantor, Scott <cantor.2 at osu.edu> wrote:
>> 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).
My bad, I was encoding manually, and hence twice.
More information about the dev
mailing list