Named parameter values containing backslash and dollar characters cause side effects

Description

When using named parameters and examples table, the named parameter value can cause side effects and wrongly transmitted parameter values if the value itself contains backslash '\' and dollar '$' characters.

This is because in ExamplesTable#replaceNamedParameters(Map<String, String>) it is used String#replaceAll(String, String).
According to javadoc, the replaceAll uses regex capturing features, that's why using \ and $ cause side effects.

Assignee

Unassigned

Reporter

Szabolcs Rugina

Components

Fix versions

Priority

Minor
Configure