How does one use special characters with hubAction

Wondering if anyone knows how to use special characters in the “path” for hubAction.

If I use any of these characters, the hubAction doesn’t work and rightly so because these have special meanings.

&+#

If use URLEncoder.encode() then it fails to work.

@tgauchat @tslagle13 @625alex any ideas?

Okay going to answer my own question, you can’t use it on the entire path, you will need to break it up and only encode those characters which need to be encoded.