| Author |
Topic Search Topic Options
|
spikeashlye
Groupie
Joined: 14 October 2003
Location: United States
Status: Offline
Points: 37
|
Post Options
Thanks(0)
Quote Reply
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?
|
 |
huwnet
Senior Member
Joined: 30 May 2003
Location: England
Status: Offline
Points: 1375
|
Post Options
Thanks(0)
Quote Reply
Posted: 16 October 2003 at 12:15pm |
|
I think there are posts on this error already!
|
 |
Gullanian
Senior Member
Joined: 04 January 2002
Location: England
Status: Offline
Points: 4373
|
Post Options
Thanks(0)
Quote Reply
Posted: 16 October 2003 at 12:19pm |
It replaces certain characters with the HTML entity equivalent for security reasons.
|
 |
spikeashlye
Groupie
Joined: 14 October 2003
Location: United States
Status: Offline
Points: 37
|
Post Options
Thanks(0)
Quote Reply
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.
|
 |
WebWiz-Bruce
Admin Group
Web Wiz Developer
Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
|
Post Options
Thanks(0)
Quote Reply
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)
|
|
|
 |
spikeashlye
Groupie
Joined: 14 October 2003
Location: United States
Status: Offline
Points: 37
|
Post Options
Thanks(0)
Quote Reply
Posted: 16 October 2003 at 12:36pm |
-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?
|
 |
WebWiz-Bruce
Admin Group
Web Wiz Developer
Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
|
Post Options
Thanks(0)
Quote Reply
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.
|
|
|
 |
spikeashlye
Groupie
Joined: 14 October 2003
Location: United States
Status: Offline
Points: 37
|
Post Options
Thanks(0)
Quote Reply
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?
|
 |