Make the plugin encode the URL before passing it to a function that will inevitably decode it.