View unanswered posts | View active topics It is currently Tue Aug 14, 2018 5:46 pm



Post new topic Reply to topic  [ 6 posts ] 
 Let punctuation marks show up on the ship comms. 
Author Message
User avatar

Joined: Sat Dec 03, 2011 10:28 am
Posts: 559
Location: Asheron's Island, Dereth
Post Let punctuation marks show up on the ship comms.
Apostrophes and quotes won't show up for some reason. Some other punctuation marks won't show up either, I think.

Why don't they? Will this please get fixed?

Does Dan still maintain and improve the game or is it on some kind of autonomous mode with no dev at the helm? I have a bad gut feeling that this is so. - Asheron

_________________
Respectable beings criticize constructively.

Daily missioner, NPC'er.
Mylarai: enriches often.
Gives base spare energy before ranking, as able.
Mutually jocular drama favored.


Get MANY daily benefits & elites as an IMMINENT DARKIE TODAY!


Wed May 16, 2018 7:08 am
Profile WWW
User avatar

Joined: Thu Oct 27, 2016 2:52 pm
Posts: 132
Post Re: Let punctuation marks show up on the ship comms.
It's most likely done to prevent SQL injection and cross-site scripting (XSS). There are ways of doing it where you can retain non-alphanumeric characters, but these are sometimes quite complex, and seeing as GL is "home-brew" it was probably much easier for the developers at the time to just strip everything out.

_________________
Αϝαριτια Ιρα Συπερβια


Wed May 16, 2018 8:04 am
Profile
User avatar

Joined: Sat Oct 15, 2011 5:09 am
Posts: 3086
Post Re: Let punctuation marks show up on the ship comms.
Guide wrote:
It's most likely done to prevent SQL injection and cross-site scripting (XSS). There are ways of doing it where you can retain non-alphanumeric characters, but these are sometimes quite complex, and seeing as GL is "home-brew" it was probably much easier for the developers at the time to just strip everything out.

Guide explained quite well.

in place of quotes .. use a period. looks kind of weird but it won.t require any more coding workarounds.

_________________
Rank 2232 Sillixx Fixer 100% DCR r385-r2200 GL Marauder #26
_____________Image
PvP leaderboards: 56105 raids: #1; 27806 kills: #2; 47334 hacks: #2;


Wed May 16, 2018 8:12 am
Profile WWW

Joined: Thu Feb 10, 2011 10:29 pm
Posts: 84
Post Re: Let punctuation marks show up on the ship comms.
Guide wrote:
It's most likely done to prevent SQL injection and cross-site scripting (XSS). There are ways of doing it where you can retain non-alphanumeric characters, but these are sometimes quite complex, and seeing as GL is "home-brew" it was probably much easier for the developers at the time to just strip everything out.


It's not even that, it has a more simple reason. It's to prevent HTML tags


Thu May 17, 2018 2:58 pm
Profile
User avatar

Joined: Thu Oct 27, 2016 2:52 pm
Posts: 132
Post Re: Let punctuation marks show up on the ship comms.
Mythra wrote:
Guide wrote:
It's most likely done to prevent SQL injection and cross-site scripting (XSS). There are ways of doing it where you can retain non-alphanumeric characters, but these are sometimes quite complex, and seeing as GL is "home-brew" it was probably much easier for the developers at the time to just strip everything out.


It's not even that, it has a more simple reason. It's to prevent HTML tags

I feel like that is covered by XSS, but yes, that too.

_________________
Αϝαριτια Ιρα Συπερβια


Thu May 17, 2018 4:47 pm
Profile
User avatar

Joined: Sat Oct 15, 2011 5:09 am
Posts: 3086
Post Re: Let punctuation marks show up on the ship comms.
Mythra wrote:
Guide wrote:
It's most likely done to prevent SQL injection and cross-site scripting (XSS). There are ways of doing it where you can retain non-alphanumeric characters, but these are sometimes quite complex, and seeing as GL is "home-brew" it was probably much easier for the developers at the time to just strip everything out.


It's not even that, it has a more simple reason. It's to prevent HTML tags

HTML tags are angle brackets, not quotes, but the principle is the same .. block browser exploits

_________________
Rank 2232 Sillixx Fixer 100% DCR r385-r2200 GL Marauder #26
_____________Image
PvP leaderboards: 56105 raids: #1; 27806 kills: #2; 47334 hacks: #2;


Thu May 17, 2018 8:27 pm
Profile WWW
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron