From Second Life Wiki
Jump to navigation Jump to search

Would it be worth making a specific reference to "Display Name and Username showing as ???" ?

Innula Zenovka 18:40, 8 November 2010 (UTC)

Yes it is worth referencing it. I'll add it right now. -- Strife (talk|contribs) 05:38, 9 November 2010 (UTC)

Added a warning about escaping strings, this is because even though it is one change per week. People can cause alot of damage. Examples:

Unescaped shell script running on a residents server (linux) (they are stupid if they do this but still), ';rm -rf /

MySQL Example (its bad practise not to sanitize your strings but its a regular occurrence): ' or =

If it needs better formatting, please correct and let me know in world so I can remember for next time.

Lastro Greenwood 23:26, 22 November 2010 (UTC)

It looks good, I've made a few small changes, and added an XKCD example. -- Strife (talk|contribs) 15:48, 23 November 2010 (UTC)

Will this function return the username (= legacy name) if the avatar hasn't the Display Name set?

It's perhaps trivial to test (I haven't!), but, if yes, is it worth mentioning on the page?

The point being that you don't need to make two calls (one for the legacy name, another for the Display Name). If that's the case, it's best to explain it!

Gwyneth Llewelyn (talk) 05:20, 27 April 2022 (PDT)