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

 


Help: OASIS Mailing Lists Help | MarkMail Help

wsrp message

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


Subject: Re: [wsrp] Public Review comment: encoding in entity character refs


> On a more general note, we should consider whether or not to support 
> cases where all reserved characters (":" / "/" / "?" / "#" / "[" / "]" / 
> "@" / "!" / "$" / "&" / "'" / "(" / ")" / "*" / "+" / "," / ";" / "=") 
> have been percent encoded. My first take is that we do not need to 
> require this of Consumers as a component's decision to percent encode 
> reserved characters is supposed to change how later applications 
> interpret the URI and therefore should be done with extreme care. 
> However, I do think this a point we should discuss.

Since we explicitly state when to URL-encode/decode (e.g wsrp-url), I 
agree that we don't need to specify anything special. If a producer 
URL-encoded "&", most likely the producer knows what it is doing (or 
there is a bug).

Subbu


> 
> *"Mike Caffyn" <mike@netunitysoftware.com>*
> 
> 07/19/2006 09:36 AM
> 
> 	
> To
> 	"'Richard Jacob'" <richard.jacob@de.ibm.com>, "'Michael Freedman'" 
> <michael.freedman@oracle.com>
> cc
> 	"'wsrp'" <wsrp@lists.oasis-open.org>
> Subject
> 	RE: [wsrp] Public Review comment:  encoding in entity character refs
> 
> 
> 	
> 
> 
> 
> 
> 
> I agree with Richard. I think the rewriter code could get very inefficient
> if made to support all these different nuances. Where to start and where to
> stop is the big question as Richard asks.
> 
> Mike Caffyn
> NetUnity Software
> http://www.netunitysoftware.com
> Phone: 757-744-0148
> 
> 
> -----Original Message-----
> From: Richard Jacob [mailto:richard.jacob@de.ibm.com]
> Sent: Wednesday, July 19, 2006 9:19 AM
> To: Michael Freedman
> Cc: wsrp
> Subject: Re: [wsrp] Public Review comment: encoding in entity character refs
> 
> I have another question here:
> It seems that the framework URL escapes the ";" character with %3B but not
> the "&" character.
> This seems very strange for me. I would expect that if the rewrite
> expression gets escaped then it should be %26amp%3B.
> I think we wanted to add this we need to specify a crisper rule.
> What about the the "=" in wsrp-URLtype= and the "?" as param start token?
> 
> It seems that the you are describing the URL escaping is quite ambitious.
> Where to start and where to stop?
> I would expect that if the framework gets an WSRP rewrite expression and
> URL escapes it then it should URL espace everything?
> 
> 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
> 
> 
>                                                                          
>             Michael Freedman                                              
>             <michael.freedman                                            
>             @oracle.com>                                               To
>                                       wsrp <wsrp@lists.oasis-open.org>    
>             06/28/06 12:14 AM                                          cc
>                                                                          
>                                                                   Subject
>                                       [wsrp] Public Review comment:      
>                                       encoding in entity character refs  
>                                                                          
>                                                                          
>                                                                          
>                                                                          
>                                                                          
>                                                                          
> 
> 
> 
> 
> Section 10.2.1 states:
> Consumers MUST accept both the "&" character and the corresponding
> entity reference (i.e. "&amp;") as separators between the name/value
> pairs as this allows Portlets to produce markup fragments valid for a
> larger range of mime types. We encourage Portlets to use the entity
> reference form ("&amp;") in static markup as this is likely to result in
> the ability to include that markup in a larger set of enclosing mime types.
> 
> An issue has come up concerning client code that has been over ambitious
> and URL encoded the ; of the &amp; -- i.e. it emits &amp%3b.  As the use
> in this case isn't reserved by HTML urls (though ; is a reserved
> character) should consumers treat &amp%3b as equivalent to &amp;?  It
> appears that browser do so.
>     -Mike-
> 
> ---------------------------------------------------------------------
> To unsubscribe from this mail list, you must leave the OASIS TC that
> generates this mail.  You may a link to this group and all your TCs in
> OASIS
> at:
> https://www.oasis-open.org/apps/org/workgroup/portal/my_workgroups.php
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe from this mail list, you must leave the OASIS TC that
> generates this mail.  You may a link to this group and all your TCs in OASIS
> at:
> https://www.oasis-open.org/apps/org/workgroup/portal/my_workgroups.php
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe from this mail list, you must leave the OASIS TC that
> generates this mail.  You may a link to this group and all your TCs in OASIS
> at:
> https://www.oasis-open.org/apps/org/workgroup/portal/my_workgroups.php
> 
> 

_______________________________________________________________________
Notice:  This email message, together with any attachments, may contain
information  of  BEA Systems,  Inc.,  its subsidiaries  and  affiliated
entities,  that may be confidential,  proprietary,  copyrighted  and/or
legally privileged, and is intended solely for the use of the individual
or entity named in this message. If you are not the intended recipient,
and have received this message in error, please immediately return this
by email and then delete it.


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