is anyone elses web admin chat messed up?

SeeVeeSeeVee Join Date: 2012-10-31 Member: 165206Members
edited January 2013 in Server Discussion
Mine looks like this when people type chat messages:

<a href="http://imageshack.us/photo/my-images/339/chatwindow.jpg/" target="_blank"><img src="http://img339.imageshack.us/img339/3749/chatwindow.jpg" border="0" class="linked-image" /></a>

Comments

  • UKGamerUKGamer Join Date: 2004-03-12 Member: 27300Members
    <!--quoteo(post=2061580:date=Jan 16 2013, 10:40 PM:name=SeeVee)--><div class='quotetop'>QUOTE (SeeVee @ Jan 16 2013, 10:40 PM) <a href="index.php?act=findpost&pid=2061580"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->Mine looks like this when people type chat messages:

    <a href="http://imageshack.us/photo/my-images/339/chatwindow.jpg/" target="_blank"><img src="http://img339.imageshack.us/img339/3749/chatwindow.jpg" border="0" class="linked-image" /></a><!--QuoteEnd--></div><!--QuoteEEnd-->

    I'm also getting this.
  • SeeVeeSeeVee Join Date: 2012-10-31 Member: 165206Members
    this is now fixed as of 237 thanks guys!
  • dethovudethovu Join Date: 2009-06-23 Member: 67906Members
    <!--quoteo(post=2061683:date=Jan 16 2013, 08:21 PM:name=SeeVee)--><div class='quotetop'>QUOTE (SeeVee @ Jan 16 2013, 08:21 PM) <a href="index.php?act=findpost&pid=2061683"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->this is now fixed as of 237 thanks guys!<!--QuoteEnd--></div><!--QuoteEEnd-->

    We're running 237 and it is still happening.

    (Marine) Jommy: jommy%2525252525252525252525252525252525252525252525252525252521%2525252525252525252525252525252525252525252525252525252521%2525252525252525252525252525252525252525252525252525252521%2525252525252525252525252525252525252525252525252525252521
    (Marine) Jommy: nooooooooooooooooooooo
    (All) Eros: wtf%25252525252525252525252525252525252525252Bim%25252525252525252525252525252525252525252Blagging%25252525252525252525252525252525252525252Blike%25252525252525252525252525252525252525252Ba%25252525252525252525252525252525252525252Bmother######er%25252525252525252525252525252525252525252Bcomcast%25252525252525252525252525252525252525252Bis%25252525252525252525252525252525252525252Beasily%25252525252525252525252525252525252525252Bthe%25252525252525252525252525252525252525252Bworst%25252525252525252525252525252525252525252Bisp%25252525252525252525252525252525252525252Bever
    (Marine) jake%2525252525252525252525252525252525252525252Esnider: yeah%25252525252525252525252525252525252525252Band%25252525252525252525252525252525252525252Bsome%25252525252525252525252525252525252525252Bshades
    (Marine) jake%2525252525252525252525252525252525252525252Esnider: could%25252525252525252525252525252525252525252Buse%25252525252525252525252525252525252525252Bsome%25252525252525252525252525252525252525252Bobs%25252525252525252525252525252525252525252527s
  • MavickMavick Join Date: 2012-11-07 Member: 168138Members
    Confirmed. Still messed up in 237.
  • SeeVeeSeeVee Join Date: 2012-10-31 Member: 165206Members
    thats odd mine went away and then after a couple matches it's back

    <a href="http://imageshack.us/photo/my-images/404/capture1et.jpg/" target="_blank"><img src="http://img404.imageshack.us/img404/3998/capture1et.jpg" border="0" class="linked-image" /></a>
  • WhosatWhosat Singapore Join Date: 2006-11-03 Member: 58301Members, Reinforced - Shadow
    Its a bug with the game code. The AJAX response itself is giving this gibberish.
  • CheesyPetezaCheesyPeteza Join Date: 2002-11-24 Member: 9784Members, NS1 Playtester, Constellation
    Brian explained this on the server admin <a href="https://groups.google.com/d/topic/uwe-server-ops/WXIpRB077R8/discussion" target="_blank">google group</a>

    <!--quoteo--><div class='quotetop'>QUOTE </div><div class='quotemain'><!--quotec-->Brian Cronin Jan 16

    Thanks for the reminder. I did that to prevent a horrible exploit where any player could execute server commands with some tricky chat messages.

    I'll get the html fixed up. That won't be included in a patch until at least the end of Jan however. It should be easy enough for somebody here to fix it in the mean time.<!--QuoteEnd--></div><!--QuoteEEnd-->
  • FuhrerDarqueSydeFuhrerDarqueSyde Join Date: 2004-10-04 Member: 32076Members, Constellation
    edited January 2013
    the fix is illustrated in the improved web admin topic. You need to find the line "entry = data[i];" in ns2/web/js/rcon.js and add the following lines directly below it.
    <!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->entry.player = decodeURIComponent(entry.player.replace(/(25){5,}/g, "").replace(/(\+|\%2B)/g, "%20"));
    entry.message = decodeURIComponent(entry.message.replace(/(25){5,}/g, "").replace(/(\+|\%2B)/g, "%20"));<!--c2--></div><!--ec2-->
Sign In or Register to comment.