Re: [phpodpworld-users] Categories with the ' characters
Status: Beta
Brought to you by:
hansfn
From: Hans F. N. <Han...@hi...> - 2007-07-02 22:16:55
|
* Howard Lee <hl...@gm...> [2007-07-02]: > Dear all, > > Some of the DMOZ categories have the ' character. I found that these > categories are not displayed. It seems the ' character is escaped and > displayed as \'. For example, this error message is shown when I > access the page: > The category "Reference: Education: Colleges and Universities: North > America: United States: Women\'s Colleges" was not found. > > I checked the apache log and it is not escaped. > 210.17.204.242 - - [02/Jul/2007:01:58:57 -0700] "GET > /Reference/Education/Colleges_and_Universities/North_America/United_States/Women's_Colleges > HTTP/1.1" 200 1897 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT > 5.1; SV1; .NET CLR 2.0.50727)" > > I am using MySQL 5.0 as the database, and the category is indeed > there. Does anybody experience the same problem? Thank you. As you all know (?), phpodpworld is just a hobby project of mine. It basically means there are plenty of bugs - this is one of them. My guess is that you have activated magic_quotes_gpc[1] and my code isn't checking for that. Could you please try to turn off magic_quotes_gpc and see if the problem is fixed? If so, I'll add some checks for magic quotes before the next release. Hans [1] This is a PHP setting so it will not affect the Apache logs. (Look in your php.ini. It can be disabled at directory level using .htaccess.) |