Relative Path to Absolute URLs

Component ID

568280

Component name

Relative Path to Absolute URLs

Component type

module

Maintenance status

Development status

Component security advisory coverage

covered

Downloads

17657

Component created

Component changed

Component body

When you use IMCE with FCK Editor, there's a problem with images on simplenews newsletters and feed images, because the path to images and internal links are referrer in relation to current site.

This module implements a simple filter which replaces src and href attributes like /path/to/link with http://www.example.com/path/to/link, making use of core's url() function.