Add url_encode filter to history