Page 1 of 2
I have a QUESTION!!
Posted: Sun Feb 19, 2012 7:04 pm
by meepers
Why is: \ and ` not allowed in-game??
Re: I have a QUESTION!!
Posted: Sun Feb 19, 2012 7:06 pm
by EpicBros
Because apostrophes are for the birds.
Just realized thats not an apostrophe.
Re: I have a QUESTION!!
Posted: Sun Feb 19, 2012 7:14 pm
by meepers
LolFAIL
Re: I have a QUESTION!!
Posted: Sun Feb 19, 2012 7:15 pm
by Bonejunky
meepers wrote:Why is: \ and ` not allowed in-game??
Probably so mods and others don't confuse people by saying "./help" and such.
Re: I have a QUESTION!!
Posted: Sun Feb 19, 2012 7:16 pm
by meepers
You meen \help?
Re: I have a QUESTION!!
Posted: Sun Feb 19, 2012 7:43 pm
by EpicBros
meepers wrote:LolFAIL
Someone didn't get it.
Re: I have a QUESTION!!
Posted: Sun Feb 19, 2012 8:09 pm
by meepers
D:
Re: I have a QUESTION!!
Posted: Sun Feb 19, 2012 9:34 pm
by Lm108
It would completely destroy the server, typing a single \ will corrupt and decimate the server, leaving it riddled with holes and oozing with lava.
Re: I have a QUESTION!!
Posted: Sun Feb 19, 2012 9:37 pm
by fritterdonut
Could be to sanitize user inputs to prevent people from injecting code.
Example:
global.chat='$string'
where $string is the user input.
So say someone says "Hello world!"
global.chat='Hello world!'
However a malicious person could enter " ' DROP TABLE -- "
which would make the code look like this:
global.chat=' ' DROP TABLE --'
global chat returns a value of ' ' for user input, then would process the command DROP TABLE as a command instead of a string. The -- would comment out the extra '. DROP TABLE is a SQL command to delete a data table, which we obviously wouldn't want.
So by sanitizing your inputs to not include \ and ', you can help prevent users from injecting malicious code into your site, potentially stealing or damaging information.
Or it could just be because Minecraft's font doesn't include either character, which would be the simplest answer.
Re: I have a QUESTION!!
Posted: Sun Feb 19, 2012 9:39 pm
by Intelli
' works fine?