zbkoong / android-rcs-ims-stack

Automatically exported from code.google.com/p/android-rcs-ims-stack
0 stars 0 forks source link

Semicolon is not escaped in XCAP URI parameters #37

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
On the XCAP HTTP interface, the RCS client is sending this as the request line 
of the PUT message:

PUT 
/xcap-root/resource-lists/users/sip%3A%2B36304722911%40rcse.tst/index/~~/resourc
e-lists/list%5B@name=%22rcs%22%5D/entry%5B@uri=%22sip%3A%2B36204869989%40rcse.ts
t;user=phone%22%5D HTTP/1.1

At the end of the URI the semicolon is not escaped in "...rcse.tst;user=phone" 
value.

According to the sources, the encodeURL() function of 
core/src/com/orangelabs/rcs/core/ims/service/presence/xdm/HttpUtils.java file 
needs to be extended with semicolon escaping support.

Original issue reported on code.google.com by gisz...@gmail.com on 23 Nov 2011 at 3:08

GoogleCodeExporter commented 9 years ago

Original comment by jmauffret@gmail.com on 10 Feb 2012 at 6:07