Force properties file to have properties extension and escape special chars

Description

Given the following test runner URL

http://127.0.0.1:49616/tests/runner.cfm?propertiesSummary=true&reportpath=../runners&propertiesFilename=random.extension&labels=special%5Cchars

TestBox would have previously created a file called “random.extension” with the contents including:

But now it will create a file called “random.extension.properties” with the contents including:

A file already having the “.properties” extension will be left with the original file name.

Possible backwards compatibility issues are

  • If someone was using another extension such as .txt

  • if someone was reading the properties file via a program or code that does not obey proper escaping sequences.

The special characters escaped in all propery values now are

backslash, carriage return, line break, tab, space, forward slash, great than sign, less than sign

Assignee

Brad Wood

Reporter

Brad Wood

Labels

None

Fix versions

Priority

Major
Configure