CommaSeparatedListIndex constructor character input treated as numerical value #29

Closed
opened 2025-10-17 09:10:50 +00:00 by UserCurt · 1 comment
UserCurt commented 2025-10-17 09:10:50 +00:00 (Migrated from codeberg.org)

Calling mpath.operation.CommaSeparatedListIndex(index) with a scalar char input index that is not ':' will use the numerical ASCII value as the index. For example, mpath.operation.CommaSeparatedListIndex(';') will act like <59> since ; is character 59. Expected behavior is to give an error.

This issue may be present in other operations or functions, though this has not been checked.

Calling `mpath.operation.CommaSeparatedListIndex(index)` with a scalar char input `index` that is not `':'` will use the numerical ASCII value as the index. For example, `mpath.operation.CommaSeparatedListIndex(';')` will act like `<59>` since `;` is character 59. Expected behavior is to give an error. This issue may be present in other operations or functions, though this has not been checked.
UserCurt commented 2026-07-07 13:05:07 +00:00 (Migrated from codeberg.org)

Fixed in 2c5263a.

Fixed in 2c5263a.
Sign in to join this conversation.
No description provided.