[IMC-pgh-tech] [Re: [PGH Indymedia] Request for article email validation (fwd)]

mtoups at andrew.cmu.edu mtoups at andrew.cmu.edu
Thu Nov 14 15:10:14 PST 2002


okay, i've reverted back to the Off option on
that since we seem to have a problem with the
current escaping that's being used to insert
things like URL's into the db (exhibited by
the nasty bug where images and links don't
work on the main page)

more news as it comes in

matt

On Thu, 14 Nov 2002 mtoups at andrew.cmu.edu wrote:

> cool, this should be taken care of now,
> rock on
>
> matt
>
> On Thu, 14 Nov 2002, John Harrold wrote:
>
> >
> > i sent this the other day but i sent it to imc_pgh_tech. oops.
> >
> >
> > ok matt i beat on it for a bit and this is what fell out.
> >
> > evidently the the validation was failing when updating the table. i printed
> > out the query and realized that the single quote (') wasn't being escaped.
> > as a result things like "i'll" seemed to be screwing it up. i updated the
> > story in the database and removed all of the (')'s. the i went to the
> > validation url and it seems to work fine. i asked around on irc and
> > evidently there is a setting in the php.ini file to have php escape these
> > things for you.
> >
> > after looking at the php.ini file it seems like the following should be
> > changed to 'On':
> > magic_quotes_runtime= Off
> >
> > i also changed the checkbox to remain checked if the page is refreshed.
> >
> >
> > Sometime in November mtoups at andrew.cmu.edu assaulted the keyboard and produced:
> >
> > |
> > | hey john,
> > |
> > | i think there are still some problems with email validation.
> > |
> > | 1. when you click the "email me" box, and then go
> > | down to the "how many files to upload" submit button,
> > | you lose the "email me" check off box, which i think
> > | is why people are not using the feature.
> > |
> > | 2. for some reason, when i just tried to validate an
> > | article, i went to the validation URL and it gave
> > | an affirmative result, but it didn't actually "validate"
> > | as in it didn't change the db and therefore didn't display
> > | on the page.  i was messing around with the db and changed
> > | it myself just to see if that was the problem.  any ideas?
> > |
> > | of course it'd be cool to implement this for comments
> > | too but that's no big hurry.  do you think it is a reasonble
> > | idea to start putting "not validated" tags on unvalidated
> > | messages?  i think we need an incentive for people to do this.
> > |
> > | matt
> > |
> >
> > --
> > ---------------------------------------------------------------
> > john harrold               | "They that can give up essential
> >      jmh17+maps at pitt.edu   |  liberty to obtain a little
> > /"\                        |  temporary safety deserve neither
> > \ / ASCII ribbon campaign  |  liberty nor safety."
> >  X  against HTML mail      |
> > / \                        |  Benjamin Franklin
> > ---------------------------------------------------------------
> >   "International security is not a zero-sum game. Peace,
> >   security and freedom are not finite commodities - like l
> >   and, oil or gold - which one state can acquire at
> >   another's expense."
> >   United Nations Secretary-General Kofi Annan
> >
>
>
> _______________________________________________
> IMC-pgh-tech mailing list
> IMC-pgh-tech at lists.indypgh.org
> http://indypgh.org/cgi-bin/mailman/listinfo/imc-pgh-tech
>
>





More information about the IMC-pgh-tech mailing list