From Second Life Wiki
Jump to: navigation, search


Function: string llEscapeURL( string url );

Returns a string that is the escaped/encoded version of url, replacing spaces with %20 etc. The function will escape any character not in [a-zA-Z0-9] to %xx where xx is the hexadecimal value of the byte. To clarify, numbers and ASCII letters are NOT escaped.

• string url


  • The function is not appropriate for escaping a URL all at once because the ': ' after the protocol and all of the '/' characters delimiting the various parts will be escaped. Instead, build the URL in parts, escaping parts of the path and query string arguments as needed.
  • Between SL versions 1.9.0(21) and, there was a bug (since apparently remedied) which permitted this function to return a max of 254 characters.

All Issues ~ Search JIRA for related Bugs


See Also


• llUnescapeURL


• UTF-8
• Base64

Deep Notes

Search JIRA for related Issues


function string llEscapeURL( string url );