OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

wsrp-conformance message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Fw: wsrptk assertion RP1380 fails for resource URL types


a bug found within our tests.

Mit freundlichen Gruessen / best regards,

        Richard Jacob
______________________________________________________
IBM Lab Boeblingen, Germany
Dept.8288, WebSphere Portal Server Development
WSRP Technical Lead
WSRP Standardization
Phone: ++49 7031 16-3469  -  Fax: ++49 7031 16-4888
Email: mailto:richard.jacob@de.ibm.com
----- Forwarded by Richard Jacob/Germany/IBM on 06/09/06 11:51 AM -----
                                                                           
             Edgar                                                         
             Gottsmann/Germany                                             
             /IBM                                                       To 
                                       Richard Jacob/Germany/IBM           
             06/08/06 05:55 PM                                          cc 
                                       Stephan Laertz/Germany/IBM          
                                                                   Subject 
                                       wsrptk assertion RP1380 not         
                                       implemented correctly               
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           



Hi Richard,

when I used the new 'wsrptk' protocol tester (http://wsrptk.sourceforge.net
) to test our portal wsrp protocol, I got a failed assertion RP1380.

Further investigation together with Stephan showed that the reason for the
failure is the implementation of the check.
The corresponding code in RP1380.java assumes that only the following url
parameter names are valid:

"wsrp-urlType",
"wsrp-navigationalState",
"wsrp-interactionState",
"wsrp-mode",
"wsrp-windowState",
"wsrp-fragmentID",
"wsrp-secureURL"

but in the case of 'wsrp-urlType=resource'

"wsrp-url"
"wsrp-requiresRewrite"

are also valid. In the current implementation you can therefore get a wrong
assertion failure if the wsrp-urlType is 'resource':

Example:
The markup contained portlet URL parameters that were not strictly encoded.
Unencoded URL parameter value in
'wsrp-urlType=resource&wsrp-url=http%3a%2f%2fwps38.boeblingen.de.ibm.com%3a10038%2fwps%2fPA_bmr6k8x%2fimages%2fmsg_warning.gif&wsrp-requiresRewrite=false&wsrp-secureURL=false'
 - contains the '=' character


Kind regards
Edgar

-------------------------------------------------
IBM Entwicklung GmbH
Workplace Portal & Collaboration
Tel. (+49)-7031-16-2621
Edgar.Gottsmann@de.ibm.com



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]