Print Page | Close Window

Active Forum Users - Strange Characters (9.53)

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=26344
Printed Date: 03 April 2026 at 4:49am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Active Forum Users - Strange Characters (9.53)
Posted By: dotster
Subject: Active Forum Users - Strange Characters (9.53)
Date Posted: 03 October 2008 at 8:20pm
using version 9.53 seems there are still some odd things going on

see screenshot.. I did an iisreset on the server too to let all the application and session variables reset and when things started going again it was still doing this..

showing << 's

 



Replies:
Posted By: pbanks
Date Posted: 03 October 2008 at 8:52pm

Yes, unfortunately I am getting exactly the same thing having upgraded to 9.53 (SQL 2005) just a few minutes ago. It looks like all the 8s are getting changed?!

However, I am unable to upload an image (which is exactly the same as dotster).



Posted By: dotster
Date Posted: 03 October 2008 at 9:24pm
I can upload pictures via the RTE with 9.53 no problem.. it was 9.52 that had the problem.

Bruce added the fix to the new code..


Posted By: pbanks
Date Posted: 03 October 2008 at 9:45pm
Sorry, I should have said that I can't post an image in this forum!!


Posted By: Nick-V
Date Posted: 03 October 2008 at 9:48pm
I can upload images and files with 9.52...did Bruce mention making any changes to 9.52 or did he just say the zip was corrupt. Mine works fine.
 
To resolve the uploads problem remember to set modify permissions for Internet Guest Account to forum\uploads\ and to propogate down (replace child permissions).


Posted By: dotster
Date Posted: 03 October 2008 at 9:48pm
Originally posted by pbanks pbanks wrote:

Sorry, I should have said that I can't post an image in this forum!!


ohh ya.. I know what ya mean now... I could't upload a picture here either so I put the image on one of my servers.


Posted By: Nick-V
Date Posted: 03 October 2008 at 9:49pm
BTW...it does not look like all the 8s are getting changed according to the evidence above.


Posted By: dotster
Date Posted: 03 October 2008 at 10:22pm
It's doing this < thing all over the place.. anytime that function is called

I just had some people sign up and their info in the database and in their profile is all boned up.. for example

Real Name <im <oseph    instead of Jim Joseph
Location  <nited States

I also see these coming up in PM's..


Posted By: WebWiz-Bruce
Date Posted: 04 October 2008 at 10:04am
The latest release 9.52 was mainly a bug fix release and very little was changed, certainly nothing that would course this issue.

It seems that every time the input is parsed by the removeAllTags function to remove any malicious scripting that some characters are being changed to '<'.

This function has not been changed since version 9 was released over a year ago and there is no reason for this to happen and only seems to be effecting some installations and not all. Certainly none in our development lab or the ones we host on our own servers which makes it even harder to track down the issue.

The first thing you should do is try replacing the functions/functions_filters.asp with the latest version incase it is corrupted.

If that doesn't work then if you could give a link to your forum so that it can be looked to try and workout why this is happening.

Also have you changed any locales, character encoding, or using an Vietnamese?


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: pbanks
Date Posted: 04 October 2008 at 11:21am

I re-downloaded both the SQL and SQL2005 (although I am using the 2005) and extracted the functions_filter.asp from both and tried them.

Unfortunately, the problem still exists in both versions and has not changed. And, no, locales etc have not been changed.

http://irishdogs.ie/forum - http://irishdogs.ie/forum

Hope you can glean something from this?



Posted By: 123Simples
Date Posted: 04 October 2008 at 12:39pm
Hi - I notice you are using an asp chat box - do you think perhaps the version is conflicting in some way with your forum version? I assume that this issue only arose when you tried 9.52 and 9.53, not with any previous versions?

-------------
http://www.123simples.com/" rel="nofollow - Visit 123 Simples Web Design


Posted By: pbanks
Date Posted: 04 October 2008 at 1:14pm
No ... I put up the Chat Box AFTER 9.52 and 9.53 so there is no way that has anything to do with it (sadly ... it would be so easy if it were related but it's not).
 
Although my post count in this forum is very low I've actually been using WWF since January 2003 and have been through countless iterations and bugettes that seem to find there way into new releases. Hey! What software releases don't suffer!!


Posted By: 123Simples
Date Posted: 04 October 2008 at 2:42pm
I cannot see your chat box now - are the issues still there?

-------------
http://www.123simples.com/" rel="nofollow - Visit 123 Simples Web Design


Posted By: pbanks
Date Posted: 04 October 2008 at 2:50pm
Chatbox happily still there within the forums. And, yes the issue is still there until Bruce or someone finds the cause (though as Bruce stated before ... he can't see it on his boxes)!!


Posted By: 123Simples
Date Posted: 04 October 2008 at 2:53pm
Originally posted by pbanks pbanks wrote:

Chatbox happily still there within the forums. And, yes the issue is still there until Bruce or someone finds the cause (though as Bruce stated before ... he can't see it on his boxes)!!


If I register on your forum, then maybe you can point me in the right direction Thumbs Up


-------------
http://www.123simples.com/" rel="nofollow - Visit 123 Simples Web Design


Posted By: pbanks
Date Posted: 04 October 2008 at 3:08pm
No probs ... and if you have dogs it might be of interest as well Thumbs Up


Posted By: dotster
Date Posted: 04 October 2008 at 6:08pm
This code below is from "functions_filters.asp"
Because of something Bruce said mentioning Vietnamese I thought I would try something.


I commented out the line in red in the code below  and no more < 's anywhere so far

'*********************************************
'***    Strip all tags   *****
'*********************************************

'Remove all tags for text only display
Private Function removeAllTags(ByVal strInputEntry)

 'Remove all HTML scripting tags etc. for plain text output
 strInputEntry = Replace(strInputEntry, "&", "&amp;", 1, -1, 1)
 strInputEntry = Replace(strInputEntry, "<", "&lt;", 1, -1, 1)
 strInputEntry = Replace(strInputEntry, ">", "&gt;", 1, -1, 1)
 strInputEntry = Replace(strInputEntry, "'", "&#039;", 1, -1, 1)
 strInputEntry = Replace(strInputEntry, """", "&quot;", 1, -1, 1)
 strInputEntry = Replace(strInputEntry, "\", "&#092;", 1, -1, 1)
' strInputEntry = Replace(strInputEntry, Chr(173), "&lt;", 1, -1, 1) 'Vietmanise < tag
 'Return
 removeAllTags = strInputEntry
End Function


Now I can assure you I am not running anything odd on my server as far as the locale, character encoding, or whatever goes. I nor any of my users are using Vietamise.

LCID 1033 Server based in East Coast US, all US default settings on everything. That goes for the SQL server as well and the html I am surrounding the forums in. Nothing out of the ordinary here.

Honestly, I don't get why this was happening or how on earth those characters that should not be chr(173) are getting replaced by that line but this fix seems to work so oh well. I am going with it for now. I don't see what it can really hurt as the really important stuff is still getting taken care of by the function.


Posted By: pbanks
Date Posted: 04 October 2008 at 9:41pm
Sadly, this cludge doesn't fully fix it for me ...


Posted By: WebWiz-Bruce
Date Posted: 06 October 2008 at 10:08am
The Active Users list uses application variables so you may need to wait sometime for the changes to filter through.

However, the fix that doster has should fix the issue why it is investigated to try and findout why this should be effecting some servers and not others, and why it has come up now considering that this function has not been changed.


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: dotster
Date Posted: 06 October 2008 at 2:28pm
As I went from 8.03 to 9.x the removealltags functions is different ... I can not speak for anyone else but that is how I never saw the issue before

Anyway, just an update that everything has been perfect since I made that code change.

Best Regards



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net