// SPDX-License-Identifier: MIT // Copyright (c) 2026 Incoprea // Test the current object name through URL encoding // Not compiled or tested in-world // Setup: Use a spare owned test object. Give the test object a name with spaces, punctuation or Unicode, then touch. // Stop / restore: Disable/remove. Tests report privately and do not change visual prim properties. Any temporary timer stops at completion or timeout. // Notes: Only the name is used; no URL is opened and no text is sent to a network endpoint. // License: see LICENSE in this distribution. // Original Incoprea. MIT. Runtime verification, not pre-certified behavior. default { touch_start(integer detectedCount) { if(llDetectedKey(0)!=llGetOwner())return; string original=llGetObjectName(); string encoded=llEscapeURL(original); string decoded=llUnescapeURL(encoded); llOwnerSay("URL roundtrip exact="+(string)(original==decoded)+" encoded="+encoded); } changed(integer flags) { if(flags&CHANGED_OWNER)llResetScript(); } }