Menu ▾ ▴

#4 incorrect conversion of plus char

open
nobody
None
5
2013-02-19
2001-01-04
Anonymous
No

sent by client :

/sendmsg?id=275418707&room=General&msg=this+is+%2B+cat&lastmsg=978594967

received by server :

/sendmsg?id=275418707&room=General&msg=this+is+%2B+cat&lastmsg=978594967

converted by uri (using uri-2.10.0, by calling uri_query() function) :

query = id=275418707&room=General&msg=this+is+++cat&lastmsg=978594967

Slamet Puji Santuso
e-mail : commedo@ebzoom.com
slametps@ebdesk.com

Why did uri convert string "this+is+%2B+cat" become "this+is+++cat" (without quote) ???!!!

That's why real plus char ('+') converted to space char when re-converted to original message.

Slamet Puji Santuso
e-mail :

Discussion


Log in to post a comment.