1 austriaco Dec 05, 2008 13:36
3 combatwombat Dec 23, 2008 08:01
:D
Thanks for that Austriaco
I suddenly found that I could not access some older posts with the hyphen at the end.
4 nate_02631 Feb 23, 2009 18:39
My blog is updated to 2.4.6, yet I am having this issue as well.
I have been upgrading via the version-to-version patches so maybe something was missed. Could someone direct me to which file contains the fix for the issue so I could compare versions and/or apply the fix?
I would prefer not to update the DB titles to prevent breaking of some links. ;)
Thanks for any help!
5 nelsonguirado Mar 02, 2009 06:54
What's the best solution for this, then? I have the same problem.
6 nate_02631 Mar 02, 2009 15:41
I ended up applying the patch noted above (a simple one really). I just wasn't sure that was the "official" fix and I was still having the issue in the latest version of b2evo.
I've been using the upgrade "patches", so I don't know if perhaps the official fix was left out of those?
7 waltercruz Mar 17, 2009 02:58
I'm doing the official fix right now.
8 waltercruz Mar 17, 2009 15:27
It's still broken on 2.4.6 ;)
9 afwas Mar 17, 2009 16:46
if( ( $last_char == '-' && ( strlen( $path_string ) != 40 ) ) || $last_char == ':' || $last_char == ';' )
10 waltercruz Mar 17, 2009 21:37
Hum... I was really thinking about change the way that we detect the things on urls ;)
11 waltercruz Mar 18, 2009 02:38
The Afwas suggestion would work,except in the case where you have a tag slug with 39 chars, ans uses dashes ;)
12 tblue Mar 23, 2009 13:52
This has been fixed in HEAD.
You could try this query to remove all the trailing "-" chars from your URL titles:
Of course make sure you have a database backup before executing the query...
The disadvantage of this solution is that some old URLs might not work anymore.
//edit: Fixed in HEAD and v-2-4. Thanks for reporting!