Forward slash not stripped from last term in tree

hovel - November 5, 2009 - 20:59
Project:Pathauto
Version:6.x-1.2
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

In [catpath-raw] and [catpath] slashes are striped from all terms except the last one in the tree.

Example tree:

casaluna   (vocabulary)
  feestdagen / acties  (term)
    kerstmis-2009        (term)

This is translated by pathauto into
category/casaluna/feestdagen/acties
category/casaluna/feestdagenacties/kerstmis-2009

This should be:
category/casaluna/feestdagenacties
category/casaluna/feestdagenacties/kerstmis-2009

The attached patch solves this problem:

AttachmentSize
pathauto.module.patch706 bytes
 
 

Drupal is a registered trademark of Dries Buytaert.