Somewhere around the 1.10 version of pathauto some functionality was added (look at the function pathauto_menu) that provided a new feature whereby the include files that extend pathauto can be used to provide listings of items based upon the beginning of their alias.

So, we know the following things:

  • This functionality is not used very often (google search for a telltale section of the URL).
  • It was the source of the security issue back in August.
  • It isn't consistent with the stated purpose of pathauto (creating aliases automatically)
  • It is duplicated (at least to some extent) with other modules like views

So, I propose that we remove it. I'm making this issue mostly to collect feedback. I plan on removing it in the run-up to the 5.0 version. That way anybody using it will have to upgrade to 5.0 where they will see a notice about changes in functionality and they (hopefully) won't be surprised that Pathauto has changed.

Comments

greggles’s picture

Title: remove the index page functionality » remove the listing page functionality

Bad title - the part I want to discuss here is the listing page that shows nodes that have aliases that begin with a user supplied string.

This is not the place to discuss index aliases.

m3avrck’s picture

Agreed on all points.

This is a similar feature to index aliases which we seem to be in agreement about removing as well. This listing feature is nearly identical but is a source of problems.

When it was introduced, views wasn't as widespread, so it could be argued it *was* useful. But now with the profileration of views module, this feature is redundant and really out of scope for what this module does.

Time to trim the fat and say bye bye to this feature starting in version 5 :-)

greggles’s picture

Status: Active » Needs review
StatusFileSize
new3.28 KB

Here's the patch. I think I got all instances of this. I also added a message about it to the changelog.

greggles’s picture

Version: 6.x-1.x-dev » 5.x-1.x-dev
StatusFileSize
new7.58 KB

Removing the index aliases is basically the same thing as the listing page though the features are different, the code is intermingled.

Updated patch does both.

greggles’s picture

Status: Needs review » Fixed

Applied in the 5.x--2 branch.

greggles’s picture

I should note that I added some documentation here: http://drupal.org/node/124462

That explains how to get this functionality with views.

Anonymous’s picture

Status: Fixed » Closed (fixed)