Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: General / Classic ASP versions(v3.4.XX)
 need help with something...
 New Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

golfmann
Junior Member

United States
450 Posts

Posted - 29 December 2014 :  13:06:42  Show Profile  Visit golfmann's Homepage  Reply with Quote
can anyone tell me WHERE to find the code that removes text like ' - ~ ` ", and I assume some other nefarious ones in POSTS?

I assume this is a security thing but since I have a closed forum I can take that chance.

It may be I did this myself at some time in a security patch gone wrong or whatever, but I just can't remember.

I have the brain lock...

ANY help (after looking for MONTHS) would be most appreciated

golfmann
Junior Member

United States
450 Posts

Posted - 29 December 2014 :  13:08:12  Show Profile  Visit golfmann's Homepage
on mine, I can't even post as above!
contractions like can't become cant and so on...

I broke something! lol

Edited by - golfmann on 29 December 2014 13:46:58
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 29 December 2014 :  16:17:18  Show Profile  Visit HuwR's Homepage
probably inc_func_common or inc_func_posting

MVC .net dev/test site | MVC .net running on Raspberry Pi
Go to Top of Page

golfmann
Junior Member

United States
450 Posts

Posted - 29 December 2014 :  19:22:49  Show Profile  Visit golfmann's Homepage
Thanks, Huw...

I'll look some more, maybe compare to .07 cause it seems fine here.

It's been bugging me for years lol
Go to Top of Page

Carefree
Advanced Member

Philippines
4207 Posts

Posted - 29 December 2014 :  21:26:32  Show Profile
Could also be in the bad words function in the admin panel, but HuwR's correct - I'd say most likely in "inc_func_common.asp".
Go to Top of Page

golfmann
Junior Member

United States
450 Posts

Posted - 30 December 2014 :  00:00:00  Show Profile  Visit golfmann's Homepage
I looked and there is SO much stuff (mostly from a video mod, which I suspect)...

I'm not even sure now what I SHOULD be looking for! lol

I want the video option or I'd kill the whole page and go with the new version.

aggravating...

but thanks.. both of you
Go to Top of Page

Etymon
Advanced Member

United States
2385 Posts

Posted - 30 December 2014 :  02:20:44  Show Profile  Visit Etymon's Homepage
Look for it in the at the bottom of inc_func_common.asp ...

function edit_hrefs(sURL, iType)
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 30 December 2014 :  04:05:50  Show Profile  Visit HuwR's Homepage
golfman,

There ins't any code that removes those chars in posts, only when they are in href links, is this what you mean ?

MVC .net dev/test site | MVC .net running on Raspberry Pi
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 30 December 2014 :  04:10:20  Show Profile  Visit HuwR's Homepage
this the functions that remove them are ReplaceURLs, ReplaceImageTags & edit_hrefs in inc_func_common

MVC .net dev/test site | MVC .net running on Raspberry Pi
Go to Top of Page

golfmann
Junior Member

United States
450 Posts

Posted - 30 December 2014 :  12:00:24  Show Profile  Visit golfmann's Homepage
That's what has been throwing me... It's removing in a plain post. Not URL's, not images...

lol

place has sure gone crazy....

It's gotta be something in the video or other mods..

It even replaces some things with CHRS number stuff.

I will keep poking at it...

Thanks guys
Go to Top of Page

AnonJr
Moderator

United States
5768 Posts

Posted - 05 January 2015 :  11:04:18  Show Profile  Visit AnonJr's Homepage
What's the last thing that was changed between when it last worked correctly and now?
Go to Top of Page

golfmann
Junior Member

United States
450 Posts

Posted - 06 January 2015 :  14:52:45  Show Profile  Visit golfmann's Homepage
It's been like this so long I can't tell you...

I think... it's a combination of a link shrinker AND video mod(s)...

Pretty much a "mess o code" lol

I fight with it every now and then.

thing is I WANT both those mods so I leave it.

Thanks though for asking///
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.23 seconds. Powered By: Snitz Forums 2000 Version 3.4.07