Skip to content

Commit 6dfbf80

Browse files
committed
Python: Disable use of toUnicode
until supporting CLI is released
1 parent b684434 commit 6dfbf80

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

python/ql/src/semmle/python/RegexTreeView.qll

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -473,9 +473,11 @@ class RegExpEscape extends RegExpNormalChar {
473473
* E.g. for `\u0061` this returns "a".
474474
*/
475475
private string getUnicode() {
476-
exists(int codepoint | codepoint = sum(getHexValueFromUnicode(_)) |
477-
result = codepoint.toUnicode()
478-
)
476+
// TODO: Enable this once a supporting CLI is released.
477+
// exists(int codepoint | codepoint = sum(getHexValueFromUnicode(_)) |
478+
// result = codepoint.toUnicode()
479+
// )
480+
none()
479481
}
480482

481483
/**

0 commit comments

Comments
 (0)