If you use a placeholder, e.g. !parent, as the first part of your path pattern followed by a slash and the particular term is empty, the resultant string will start with a forwards slash and break the path. For example, if I have "!parent/!name" and there are no parent terms, the result will be "/myterm".

CommentFileSizeAuthor
#1 taxonomy_redirect-n392732.patch548 bytesdamienmckenna

Comments

damienmckenna’s picture

StatusFileSize
new548 bytes

Patch attached.

damienmckenna’s picture

Title: Using !parent can lead to incorrect paths » Starting path with placeholder can lead to incorrect paths

Updating the title to be more accurate, it isn't strictly a problem with !parent.

agileware’s picture

Status: Needs review » Fixed

Thanks.

I have applied this patch. It should be in the dev version sometime today and then in the next release.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.