passifox icon indicating copy to clipboard operation
passifox copied to clipboard

Fix selector for 'id' to support semi-colons

Open gmcelhanon opened this issue 7 years ago • 0 comments
trafficstars

The current preparedId function produces a jQuery selector that fails on ids containing a ;.

The failure I encountered was on an internal SSO page that was generating ids for controls using values like 34:2;a. ChromeIPass was generating errors in the console, and even though the prepareId function was escaping some characters, the semi-colon was not included in the set. Adding the semi-colon to the set of characters being escaped corrected the issue.

gmcelhanon avatar Jan 10 '18 17:01 gmcelhanon