workaround for poor handling of percent/url encoding