Lowercase path

hawk259 - December 17, 2008 - 15:09
Project:Upload path
Version:6.x-1.0
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active
Description

I have created a patch that adds a option to lower case the full path after replacement has happened. This is good for turning a replacement pattern like this:

  [type]/[yyyy]/[mm]/[term]

that might translate into:

Story/2008/12/17/News

This option is defaulted off so it shouldn't be a problem adding it.

Thoughts?

AttachmentSize
uploadpath_lowercase_fullpath.diff1.4 KB

#1

hawk259 - December 17, 2008 - 15:12

Errr, not sure what happened to my post, but lets try again:

I have created a patch that adds a option to lower case the full path after replacement has happened. This is good for turning a replacement pattern like this:
[type]/[yyyy]/[mm]/[term]

that might translate into:

Story/2008/12/17/News

to be lowercase and turned into:

story/2008/12/17/news

This option is defaulted off so it shouldn't be a problem adding it.

Thoughts?

 
 

Drupal is a registered trademark of Dries Buytaert.