Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

llEscapeURL function broken?

Leyah Renegade
Live Musician
Join date: 2 Nov 2006
Posts: 125
02-01-2008 16:32
One of my scripts which makes http calls suddenly started returning malformed URL errors this afternoon. I hadn't made any changes to the script, and I could access the website OK outside of SL, so I took a look at the string I was passing via the URL... the error said there were illegal characters in my input, such as question marks.

Sure enough, if I write a new script that contains nothing but the following line:

llSay(0,llEscapeURL("What's happening?";)

It returns:

What's%20happening?

So it's escaping the space, but not the question mark or apostrophe! WTF? It has to have only just started doing this, else my scripts would've been broken a long time ago!
Alicia Sautereau
if (!social) hide;
Join date: 20 Feb 2007
Posts: 3,125
02-01-2008 21:25
noticed some weird stuff with my terminals that used the xtea encryption, started to return some gibrish stuff about at the same time

had to rewrite it all quickly and look for a more permanent solution for the changes

more changed below the surface then was told...
_____________________
Jesse Barnett
500,000 scoville units
Join date: 21 May 2006
Posts: 4,160
02-01-2008 21:52
From: Leyah Renegade
One of my scripts which makes http calls suddenly started returning malformed URL errors this afternoon. I hadn't made any changes to the script, and I could access the website OK outside of SL, so I took a look at the string I was passing via the URL... the error said there were illegal characters in my input, such as question marks.

Sure enough, if I write a new script that contains nothing but the following line:

llSay(0,llEscapeURL("What's happening?";)

It returns:

What's%20happening?

So it's escaping the space, but not the question mark or apostrophe! WTF? It has to have only just started doing this, else my scripts would've been broken a long time ago!

Yep, file a jira on it, if it hasn't been already. Correct return should have been:

"What%27s%20happening%3F"
_____________________
I (who is a she not a he) reserve the right to exercise selective comprehension of the OP's question at anytime.
From: someone
I am still around, just no longer here. See you across the aisle. Hope LL burns in hell for archiving this forum
Jesse Barnett
500,000 scoville units
Join date: 21 May 2006
Posts: 4,160
02-01-2008 22:10
Nevermind......................

It is working correctly in MG with "What%27s%20happening%3F" returned in Sesia.

See https://jira.secondlife.com/browse/SVC-1405

But also note that :

https://jira.secondlife.com/browse/SVC-470

WOOT! Fun times today!

EDIT: Woohoo I am proud to say I have MONO on the brain and made a big mistatement here! But the problems were JIRA'd and LL issued a fix. DOn't know if a BLOG post was made concerning sim restarts to correct it or not.
_____________________
I (who is a she not a he) reserve the right to exercise selective comprehension of the OP's question at anytime.
From: someone
I am still around, just no longer here. See you across the aisle. Hope LL burns in hell for archiving this forum
Leyah Renegade
Live Musician
Join date: 2 Nov 2006
Posts: 125
02-01-2008 22:37
That's ridiculous. Well, they just restarted my sim again and now it's working again... guess a lot of people jumped all over them for that one, it must've broken a ton of scripts.

Sheeeesh.