URL Method 2 problem with strange character

Register an Account
Pligg Chat Room
Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-29-2007, 12:04 PM
Casual Pligger
 
Join Date: Mar 2007
Posts: 46
I've done the update to utils.php to handle other characters to avoid this problem, but....

If you look at www.acttup.com there is a story titled "Red McCombs, One of Gov. Perry’s Top Donors Pushes Double Tax Tolls".

Trying to click on the read more or discuss links gets a 404. If you look at the url, the apostrophe is some weird association of characters. It shows up fine in html and even pasted here ok, but gets stored in the db strangely.

Looking at the logs, this story was submitted by a Mac user using Firefox:

Code:
"Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8.0.11) Gecko/2007
0312 Firefox/1.5.0.11"
How do I determine what this character is so that I can get it replaced in the makeUrlFriendly function in utils.php?
Reply With Quote
  #2 (permalink)  
Old 03-29-2007, 12:41 PM
kbeeveer46's Avatar
Pligg Developer/Admin
Pligg Version: 0
Pligg Template: none
 
Join Date: Jun 2006
Location: Muncie, Indiana
Posts: 3,215
The fix you did only takes effect for new stories. Old ones that are broken will not be fixed.
Reply With Quote
  #3 (permalink)  
Old 03-29-2007, 01:07 PM
Casual Pligger
 
Join Date: Mar 2007
Posts: 46
Understood, but I haven't executed a fix for the makeUrlFriendly function to handle this character and if some one enters it again, it won't work.

Any idea what this character is and how I can add it to be removed in the makeUrlFriendly function?
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
chinese language URL Method 2 problem mark3009 Questions and Comments 5 03-14-2009 12:35 AM
welcome_email Special character problem xiesi Questions and Comments 3 05-11-2008 10:15 PM
URL Method 2 problem okgaz2 Questions and Comments 0 03-15-2008 01:54 PM
Problem with handling of 'n' character in description iPodness Questions and Comments 2 09-15-2007 08:11 AM
Strange RSS Feeds Problem. SoapTaco Questions and Comments 3 02-21-2007 05:03 PM


Pligg Modules and Pligg Templates from Pligg Pro Find support on the Pligg CMS Forum - 24 hours a day! Make a donation to support Pligg CMS development