This shows you the differences between two versions of the page.
Last revisionBoth sides next revision | |||
fuss:data_encoding:url_and_uri:rfc1738:from [2015/05/24 22:30] – created office | fuss:data_encoding:url_and_uri:rfc1738:from [2017/02/22 18:30] – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Code ====== | ||
+ | |||
+ | ===== LSL ===== | ||
+ | |||
+ | <code lsl2> | ||
+ | /////////////////////////////////////////////////////////////////////////// | ||
+ | // Copyright (C) 2015 Wizardry and Steamworks - License: GNU GPLv3 // | ||
+ | /////////////////////////////////////////////////////////////////////////// | ||
+ | // unescapes a string in conformance with RFC1738 | ||
+ | string wasURLUnescape(string i) { | ||
+ | return llUnescapeURL( | ||
+ | llDumpList2String( | ||
+ | llParseString2List( | ||
+ | llDumpList2String( | ||
+ | llParseString2List( | ||
+ | i, | ||
+ | [" | ||
+ | [] | ||
+ | ), | ||
+ | " " | ||
+ | ), | ||
+ | [" | ||
+ | [] | ||
+ | ), | ||
+ | " | ||
+ | ) | ||
+ | ); | ||
+ | } | ||
+ | </ | ||