Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Maybe a bug?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Maybe a bug?

 Post Reply Post Reply
Author
spikeashlye View Drop Down
Groupie
Groupie
Avatar

Joined: 14 October 2003
Location: United States
Status: Offline
Points: 37
Post Options Post Options   Thanks (0) Thanks(0)   Quote spikeashlye Quote  Post ReplyReply Direct Link To This Post Topic: Maybe a bug?
    Posted: 16 October 2003 at 12:13pm

I don't know, but this just looks kind of funny.

I created a thread called "Best Forum I've Ever Seen" and when I get email notfaction of new posts, the email reads: "Web Wiz Forums : Best Forum I’ve Ever Seen!" in the subject line. Looks like somehow the ( ' ) got converted to a HTML character.  Strange.

Is there a way to fix this? Or is it something wrong with the mail object and not the script?

Back to Top
huwnet View Drop Down
Senior Member
Senior Member


Joined: 30 May 2003
Location: England
Status: Offline
Points: 1375
Post Options Post Options   Thanks (0) Thanks(0)   Quote huwnet Quote  Post ReplyReply Direct Link To This Post Posted: 16 October 2003 at 12:15pm
I think there are posts on this error already!
Back to Top
Gullanian View Drop Down
Senior Member
Senior Member
Avatar

Joined: 04 January 2002
Location: England
Status: Offline
Points: 4373
Post Options Post Options   Thanks (0) Thanks(0)   Quote Gullanian Quote  Post ReplyReply Direct Link To This Post Posted: 16 October 2003 at 12:19pm

It replaces certain characters with the HTML entity equivalent for security reasons.

Back to Top
spikeashlye View Drop Down
Groupie
Groupie
Avatar

Joined: 14 October 2003
Location: United States
Status: Offline
Points: 37
Post Options Post Options   Thanks (0) Thanks(0)   Quote spikeashlye Quote  Post ReplyReply Direct Link To This Post Posted: 16 October 2003 at 12:25pm
Oh... ok. Well I didn't search the forum first, because I wasn't sure what you would call that and didn't know what to search on.. But at least I know there's nothing wrong with it.. I didn't expect it to be. This script is one of the best I've seen, and it actually works like it should.
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 16 October 2003 at 12:29pm
Add this to the decodeString function in the functions_filters.asp file:-

strInputEntry = Replace(strInputEntry, "’", "'", 1, -1, 1)
Back to Top
spikeashlye View Drop Down
Groupie
Groupie
Avatar

Joined: 14 October 2003
Location: United States
Status: Offline
Points: 37
Post Options Post Options   Thanks (0) Thanks(0)   Quote spikeashlye Quote  Post ReplyReply Direct Link To This Post Posted: 16 October 2003 at 12:36pm

Originally posted by -boRg- -boRg- wrote:

Add this to the decodeString function in the functions_filters.asp file:-

strInputEntry = Replace(strInputEntry, "’", "'", 1, -1, 1)

Does this happen with all non-alpha or non-numeric characters, or only the ( ' ) ?

Is there a way I can prevent them all from displaying like that? Is there a security risk or a bad reason not to?

Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 16 October 2003 at 12:38pm
No I just missed that from teh decode function that the subject is put thriough before sending the mail.
Back to Top
spikeashlye View Drop Down
Groupie
Groupie
Avatar

Joined: 14 October 2003
Location: United States
Status: Offline
Points: 37
Post Options Post Options   Thanks (0) Thanks(0)   Quote spikeashlye Quote  Post ReplyReply Direct Link To This Post Posted: 16 October 2003 at 12:44pm
ok, thanks. I'll just add that line, any special place or just plop it in there some place?
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.