Bug 470483 - get-item path should be escaped if cell text contains square brackets
Summary: get-item path should be escaped if cell text contains square brackets
Status: UNCONFIRMED
Alias: None
Product: RCPTT
Classification: Technology
Component: Runtime (show other bugs)
Version: 2.0M4   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-18 08:36 EDT by Daniel Herding CLA
Modified: 2015-06-18 08:36 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Herding CLA 2015-06-18 08:36:25 EDT
Our application contains a table in which the first column of each line has the following text:
[var]

When recording, RCPTT will create the following:
get-table | select [get-item "[var]"

This fails during replay. Instead, it should be:
get-table | select [get-item "\\[var\\]"

Reproducable with 1.5.4 and with 2.0.0 M4.

Might be related to bug 441074.