Crash when apostrophe typed (1.1.1.0) - FIX PROVIDED

Post here all your questions related with SmartFoxServer .Net/Unity3D API

Moderators: Lapo, Bax

ckhoo6373
Posts: 13
Joined: 06 Mar 2009, 23:49

Crash when apostrophe typed (1.1.1.0) - FIX PROVIDED

Postby ckhoo6373 » 28 Apr 2009, 16:23

Hi, all.

I've found crashes related to chat string that have proper URL encoding such as the apostrophe. I've tracked the problem down to the fact that the Entities constructor isn't being called (util/entities.cs) and therefore not populating the translation hash tables.

My fix was to add the following line into the file in order to initialize the tables.

private static Entities entitiesInitializer = new Entities();

Cheers.

Chris.
ThomasLund
Posts: 1297
Joined: 14 Mar 2008, 07:52
Location: Sweden

Postby ThomasLund » 28 Apr 2009, 18:50

Hi Chris

I've just packaged up version 1.2.0 for release "soon". Could I send you the dll and/or sources and haveyou test that to see if the bug is still present there?

Some parts of the entitiy code was changed, but I am not sure if it really fixes your issue (dont think it does)

PM me your email address and I'll ship it to you asap.

Thanks!!!

/Thomas
ThomasLund
Posts: 1297
Joined: 14 Mar 2008, 07:52
Location: Sweden

Postby ThomasLund » 29 Apr 2009, 07:11

Was a real bug, and fix will be included in the upcomming 1.2.0 release!

Thanks for reporting!!

/Thomas

Return to “.Net / Unity3D API”

Who is online

Users browsing this forum: No registered users and 1 guest