how can I get the full url parameter with the url-encoded values


this is the decoded url:


if I use

$myText = urldecode(JFactory::getApplication()->input->get('myParam'));

the encoded or directly entered umlauts are missing in my var myText


1 Answer 1


Use string filter instead of the default cmd filter:

JFactory::getApplication()->input->get('myParam', '', 'string')


  • what do you mean with default cmd filter?
    – cilap
    Sep 5, 2018 at 11:06
  • 1
    When no filter is specified, cmd is used. So $input->get('myParam') equals $input->get('myParam', null, 'cmd'). It strips out characters such as umlauts.
    – Sharky
    Sep 5, 2018 at 11:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.