SONARJAVA-828 Handle % escaping