^urlencode keyword modifier problem


(Talk) #1

Hi all, has anyone used the ^urlencode keyword modifier?

 

It won't do the job for me, so I've tried to encode links using PHP rawurlencode but it's not currently plugged into Matrix as a modifier. I need to avoid '+'s and use '%20' for spaces to avoid some markup problems. If rawurlencode isn't yet a Matrix feature, does anyone know of a way I can reliably replace the '+'s in the output with '%20'?


(Edison Wang) #2

I have just added the rawurlencode and rawurldecode support for keyword modifier for you.

It will be released in 4.16.1

 

http://bugs.matrix.squiz.net/view_bug.php?bug_id=6425


(Talk) #3

I have just added the rawurlencode and rawurldecode support for keyword modifier for you.

 

You are a champion. That is brilliant, thank you  :D