|
Thorne Kaiser
Nice Guy
Join date: 29 Nov 2005
Posts: 132
|
04-17-2006 21:46
Why is it that when sending data via llHTTPRequest(in the preview) and remote_data the data being sent arrives at the remote destination with all the spaces removed?
Like I sent my name and it pops up in my message database like this: ThorneKaiser
and the message I sent myself was: This is a test message. Just checking to see if this works.
Was stored as: Thisisatestmessage.Justcheckingtoseeifthisworks.
Anyone ever run into this problem? Anyone ever kick this problems azz?
I do not have any character filters on my webpage, so I know it's not on my end.
|
|
Jillian Callahan
Rotary-winged Neko Girl
Join date: 24 Jun 2004
Posts: 3,766
|
04-17-2006 21:51
Interesting. What method are you using?
|
|
Velox Severine
Network Slave
Join date: 19 May 2005
Posts: 73
|
04-18-2006 00:05
Please post your code...but if you are POSTing the data with llHTTPRequest you really should urlencode the data first with llEscapeURL() and then on the other end decode it. This will preserve spaces.
_____________________
--BEGIN SIGNATURE STRING-- IkkgY2FtZSwgSSBzYXcsIEkgY29ucXVlcmVkLiIgLS1KdWxpdXMgQ2Flc2Fy --END SIGNATURE STRING--
|
|
Matthieu Statosky
Registered User
Join date: 17 Apr 2004
Posts: 6
|
04-18-2006 00:13
I've the same problem, it appears when I put variables with GET method like that : myVar ="pa pa pa pa" getUrl = "http://balbalala?maVar=" + maVar on the server it comes : http://balbalala?maVar=papapaI should try with the llEscapeURL() function. Matthieu
|
|
Thorne Kaiser
Nice Guy
Join date: 29 Nov 2005
Posts: 132
|
04-18-2006 08:22
Great! Thanks for the llEscapeURL() info. Anyone know how to decode that in ASP/VBScript?
|
|
Thorne Kaiser
Nice Guy
Join date: 29 Nov 2005
Posts: 132
|
04-18-2006 08:33
OK, nevermind the server response object does it automatically. Thanks again for the info!
|