WebSphere Application Server - Query String Parameter Name Decoding - request.getParameterNames

This is Interesting: Free IT Magazines  
Home > Archive > WebSphere Application Server > August 2006 > Query String Parameter Name Decoding - request.getParameterNames





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Query String Parameter Name Decoding - request.getParameterNames
ehchn1

2006-08-23, 1:29 pm

Hi,

I've been using WAS 4/5.1 for quite a while.
Lately, after patching to v5.1.1.11, I noticed that
request.getParameterNames() doesn't decode the parameter name as in the
earlier version.

For example, if I have abc%24def=p1, the parameter name was not returned
as abc$def anymore. The encoded characters were preserved.

After investigation, I found about the JSPParameterEncodedEnabled flag
but it seems to be for the parameter values only.

Is it wrong to encode the query string parameter name at the first place?
Struts tags are doing it, so I'm a bit confuse on this matter.


Please comment.

Thanks in advance.

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com