HomeFeature Requests

Use this forum to ask for new features or suggest changes to the game.

Comms : Preserving scrubbed characters with swaps Messages in this topic - RSS

Tahujoe
Tahujoe
Posts: 25


6/4/2017
Tahujoe
Tahujoe
Posts: 25
I think we can preserve, specifically, apostrophes (') and commas (,) and other potentially problematic scrubbed out characters (%_&*[]) by swapping them out before passing them through the scrubber. This can be done with escapes (I'm partial to the bell character '\7' or '\a') or just flat out using characters out of the control set (ascii values 0 to 15). Of course, we'd also need to process the characters on the way back out to the browser.

[gray hat]. . . also, I may have broken the quick reply submission on comms by sending through certain escapes. PM with details.[/gray hat]


--
I swear I'm not trying to break things.
0 link
Aywanez
Aywanez
Posts: 64


6/27/2017
Aywanez
Aywanez
Posts: 64
Just use escape characters, jeez. Aren't there standard libraries that do that in ASP?
0 link
Doctor Dread
Doctor Dread
Administrator
Posts: 1463


6/27/2017
Doctor Dread
Doctor Dread
Administrator
Posts: 1463
Aywanez wrote:
Just use escape characters, jeez. Aren't there standard libraries that do that in ASP?



Actually you just wrap it in one ASP function that converts whatever you put in into the HTML version of it. BUT that means no one, even I can't use formatting in any comms messages or events
0 link
Tahujoe
Tahujoe
Posts: 25


7/1/2017
Tahujoe
Tahujoe
Posts: 25
Escape characters for html will force through apostrophes, but on the ingame comms will trip the server's security and block the message from posting while also throwing up a generic error message. Also, liberal use of & can break Dr. Dread's ability to quote your PM back to you, since (breaking quotability right here) ' will send an apostrophe in raw text through the first filter function.

Also, for some odd reason, placing a double tick next to a single tick breaks your ability to preview or post.


--
I swear I'm not trying to break things.
0 link






Powered by Jitbit Forum 8.3.8.0 © 2006-2013 Jitbit Software