Re: Community problem
- From: Paul Cooper <paul.cooper@xxxxxxxxxxxxxxx>
- Date: Tue, 19 Jul 2005 16:27:18 +0100
On Tue, 19 Jul 2005 10:48:48 GMT, "Vinny" <vinny.fitzy@xxxxxxxxxxxx>
wrote:
>I belong to a small web community that is based around a horse racing game.
>On the site we have a disscussion forum for the members to post messages,
>sell horses or just general chit-chat. Messages are posted via a form with a
>header for the subject then the message is written into a message body and
>then submitted, much like an ordinary e-mail. The problem we have is that
>one person has taken umbridge with the group and by using a script is
>constantly wiping the forum and therefore ruining the game for its players.
>He also changes his posting name to what only can be called offensive in an
>effort to ridicule others. The script he uses is placed in the message
>header and is
>
><SCRIPT language="JavaScript
>
>as its written, I've been able to view this from page source in firefox.
>Is there anything we can do to counter this person?
>The site in question is at stableking.com
>Sorry if this has been longwinded, but as you may have gathered I have
>little knowledge of javascript or newsgroup posting.
>
>Vinny
>
a) This is only a part of the opening tag for a Javascript script. It
isn't complete, and probably has the effect of hiding everything after
it. Any unclosed tag in the same position would probably do the same.
b) The obvious thing is for your server-side code to strip out
anything that looks like an HTML tag. At the least, it could replace
"<" amd ">" characters with < and >.
c) This isn't really a Javascript problem, though the perpetrator is
using the <SCRIPT> tag to annoy you.
d) The good news is that nothing is lost - change his headers to
something else and everything should reappear.
Paul
.
- Follow-Ups:
- Re: Community problem
- From: Vinny
- Re: Community problem
- References:
- Community problem
- From: Vinny
- Community problem
- Prev by Date: Re: IDing folder name using Javascript
- Next by Date: Re: page scraping
- Previous by thread: Re: Community problem
- Next by thread: Re: Community problem
- Index(es):
Relevant Pages
|
|