Hmm,

I think you are right.

Decoding the current position is really wrong.

Seems that it must be an encode instead of the decode. Then we have encoded values to 
use inside the jsp. This should be decoded
during using inside dbforms again.

Is somebody using the position variable and can test if his application is still 
working if we use encoded values for the position?

I will change the 2 places in current cvs version and hope that someone will 
respond....

Regards,
Henner





> in DbFormTag.doStartTag():
> Line 1701: 
> dbContext.setPosition(Util.decode(table.getPositionString(resu
> ltSetVector),
> pageContext.getRequest().getCharacterEncoding()));
> 
> with:
> table.getPositionString(resultSetVector) = 
> "0:3:103-1:6:010484-2:34:5,5% BAY...." encodig = null
> 
> 
> Some method calls later I get that Exception:
> 
> java.lang.IllegalArgumentException: URLDecoder: Illegal hex 
> characters in escape (%) pattern - For input string: " B"  at 
> java.net.URLDecoder.decode(URLDecoder.java:168)
>  at org.dbforms.util.Util.decCheck(Util.java:170)
>  at org.dbforms.util.Util.decode(Util.java:121)
>  at org.dbforms.taglib.DbFormTag.doStartTag(DbFormTag.java:1701)
> 



-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
DbForms Mailing List

http://www.wap-force.net/dbforms

Reply via email to