• MODX.com

    1,328 downloads

urlClean

urlClean is an extra by dashmedia, first released on 2015-05-29.

Package Description

urlClean is used as an output modifier on urls to force them to validate, also useable on document ID's to create links to them.

accepts option value equal to the makeURL scheme parameter when used on document ID's instead of full urls

eg:

url: youtube.com/test?q=this and that -> //youtube.com/test?this%20and%20that

url: /test relative?var=with, params.&that -> /test%20relative?var=with%2C%20params%2E&that

url: 2 -> /alias-to-your-page

[[+id:urlClean=`full`]] -> http://your-site.com/alias-to-document

AUTHOR: Jason Carney, DashMedia.com.au

Usage/Installation Instructions

Install via package management

Details

Developer(s)
dashmedia
Released
2015-05-29
First seen
2015-05-29
License
GPLv2
Supported databases
Minimum MODX Requirement
2.2

urlClean Releases

Vendor Signature Released on
MODX.com 1.0.3-pl 2015-05-29 (9 years ago)

We've also seen 2 unverified versions of urlClean in use, but don't list those as we've been unable of confirming they are official releases from an official source.