Airline Mogul Forum

Airline Mogul => Bugs => Topic started by: Mastafa on June 07, 2011, 01:49:04 am

Title: [Fixed] ////s appear in messages and in-game forum when typing an '
Post by: Mastafa on June 07, 2011, 01:49:04 am
Forget the confusing title  :P :roll: :lol:

So, whenever I type:

>> ' or "  << in the In-Game forum or a message

and click the post or send button, I get a:

<</>>

Forum example:

' bug:

Here I am typing away...

(http://www2.picturepush.com/photo/a/5823450/img/Picture-Box/Report.png) (http://picturepush.com/public/5823450)

Then I click the 'submit' button and this is the result:

(http://www5.picturepush.com/photo/a/5823458/img/Picture-Box/Igetthiss.png) (http://picturepush.com/public/5823458)

" bug:

Here I am typing away...

(http://www4.picturepush.com/photo/a/5823487/img/Picture-Box/Bugst1.png) (http://picturepush.com/public/5823487)

Then I click the 'submit' button and this is the result:

(http://www5.picturepush.com/photo/a/5823488/img/Picture-Box/Bugst2.png) (http://picturepush.com/public/5823488)

Messages Example:

' bug:

Typing...

(http://www1.picturepush.com/photo/a/5823499/img/Picture-Box/SGDS.png) (http://picturepush.com/public/5823499)

After sending, I get:

(http://www4.picturepush.com/photo/a/5823502/img/Picture-Box/SGDS1.png) (http://picturepush.com/public/5823502)

" bug:

Typing....

(http://www3.picturepush.com/photo/a/5823506/img/Picture-Box/Untitled12.png) (http://picturepush.com/public/5823506)

After sending I get:

(http://www4.picturepush.com/photo/a/5823507/img/Picture-Box/Untitled13.png) (http://picturepush.com/public/5823507)

ID: Well, none
Type: In-Game forum and messages bug
Description: /s show up before and after '
Airline Details: Global Express, PW# 1936. AiRevoLegacy

Title: Re: ////s appear in messages and in-game forum when typing an '
Post by: StephenM on June 07, 2011, 10:19:34 am
They are there to prevent error messages occurring when storing text in the database that includes ' or ". I just need to strip them out before the user see's them when opening a message and they will disappear but the effect will remain.
Title: Re: ////s appear in messages and in-game forum when typing an '
Post by: StephenM on June 09, 2011, 09:53:58 pm
I've de-slashed most of the two scripts. So its got a lot less /////////. :D
Title: Re: [Fixed] ////s appear in messages and in-game forum when typing an '
Post by: Mastafa on June 09, 2011, 10:07:32 pm
I've de-slashed most of the two scripts. So its got a lot less /////////. :D


Thanks, because it gets very annoying, like the time me and CA1 (Capital AG Europe) were making some broker deals, and the title, well, was a mile long :(