Multiple consecutive 'separators' not stripped

Gurpartap Singh - June 22, 2007 - 19:01
Project:Pathauto
Version:5.x-2.x-dev
Component:Code
Category:bug report
Priority:critical
Assigned:greggles
Status:closed
Description

The example explains easily:

Consider [title] token:
Welcome to new site - example.com is converted to welcome-to-new-site---example.com
Unlike how pathauto-1.x does (viz: welcome-to-new-site-example.com).

Marking as critical, because that won't let me start using pathauto 2.x-dev on a website(as urls won't be future safe).

#1

Gurpartap Singh - July 6, 2007 - 05:44

Humpty Dumpty Bump

#2

greggles - July 26, 2007 - 00:25
Assigned to:Anonymous» greggles
Status:active» needs review

You know better than to simply "bump" something ;)

I found some time and created this patch...let me know if it works for you...

AttachmentSize
multiple_seps.patch 803 bytes

#3

greggles - August 4, 2007 - 17:21
Status:needs review» fixed

It worked in testing for me - applied to DRUPAL-5--2 branch.

#4

Anonymous - August 18, 2007 - 17:24
Status:fixed» closed
 
 

Drupal is a registered trademark of Dries Buytaert.