In drupal 5, it comes with

> Web page addresses and e-mail addresses turn into links automatically

in drupal 4.7, this is done by urlfilter, a great module.

My question is, since i updated to 5, all my customized urlfilter settings is lost, for example, get rid of http:// when display the url, leave only last part of the url when its a link to certain type of files.

Where does the code handle url filter reside in drupal 5. I don't know which file to look at.

TIA.

Comments

ax’s picture

Status: Active » Fixed

the code to handle url filtering in Drupal 5 is in filter.module, function _filter_url($text, $format) [1, 2]. you can customize your filtering there.

[1] http://api.drupal.org/api/function/_filter_url/5
[2] http://cvs.drupal.org/viewvc.py/drupal/drupal/modules/filter/filter.modu...

Anonymous’s picture

Status: Fixed » Closed (fixed)

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