Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

Request parameter value containing = is not parsed well

Vijay Kandy

2003-08-15

Replies:

Hello All,

I have a servlet whose expected parameter is ZAZBZ and its value is
CZlYnXtAIBDC=D9W7V
So calling http://host/context/name?ZAZBZ=CZlYnXtAIBDC=D9W7V would cause

System.out.println(request.getParameter("ZAZBZ"));

to print CZlYnXtAIBDC=D9W7V in Tomcat 3.2.3. But in tomcat 4.0.4 the
printout is CZlYnXtAIBDC
The results are the same when the URL is encoded because = remains the same.
Looks like parameter value cannot contain =
Please let me know if I am missing something.

Sincerely,
Vijay


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)


©2008 junlu.com - Jax Systems, LLC, U.S.A.