[geeklog-devel] slashes (/) in comment titles
vfuria at gmail.com
Sun Feb 27 18:09:45 EST 2005
Well, I think have things working out correctly for slashes in comment
titles. With the code I've been working on (tested with
magic_quotes_gpc both on and off), slashes work correctly. The
problem is that older databases, with comments that date before the
winter of 2002, seem to have slashes in the database (as opposed all
comments created since). The downside to my fix (and any fix possible
at this point) is those older comments will have the slashes that are
in the database displayed.
I'm going to go ahead and check in the changes. We can always back
them out later.
On Sun, 27 Feb 2005 18:56:13 +0100, Dirk Haun <dirk at haun-online.de> wrote:
> >The problem is that if you want a comment with a slash in it ('/') you
> >currently need to double slash it to get it in the database so that it
> >shows up correctly. This is a real PITA.
> It sure is. And I don't have a solution either. Sorry, just wanted to let
> you know that I'm aware of the problem ...
> There are a lot of places where Geeklog does too many addslashes() so
> that you'll end up with extra backslashes in the DB. Over time, we've
> tweaked it such that this goes unnoticed most of the time, but of course
> that is no solution. It's some really, really ugly legacy code and I have
> no idea how to clean up that mess.
> bye, Dirk
> geeklog-devel mailing list
> geeklog-devel at lists.geeklog.net
More information about the geeklog-devel