Skip to content

Commit

Permalink
GetListRow: fix tab separated values issue (demisto#28348)
Browse files Browse the repository at this point in the history
* fix tab issue in list

* Update Packs/CommonScripts/ReleaseNotes/1_12_5.md

Co-authored-by: Dean Arbel <darbel@paloaltonetworks.com>

---------

Co-authored-by: Dean Arbel <darbel@paloaltonetworks.com>
  • Loading branch information
2 people authored and xsoar-bot committed Aug 2, 2023
1 parent 83142bf commit dafaba5
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 3 deletions.
7 changes: 7 additions & 0 deletions Packs/CommonScripts/ReleaseNotes/1_12_5.md
@@ -0,0 +1,7 @@

#### Scripts

##### GetListRow

- Fixed an issue when using *\t* as a separator didn't parse tabs as expected.
- Updated the docker image to: *demisto/python3:3.10.12.65389*.
2 changes: 1 addition & 1 deletion Packs/CommonScripts/Scripts/GetlistRow/GetListRow.py
Expand Up @@ -80,7 +80,7 @@ def main():
header = args.get('header', '')
value = args.get('value', '')
list_separator = args.get('list_separator', ',') or ','
list_separator = list_separator.replace('\\t', ' ').replace('\t', ' ')
list_separator = list_separator.replace('\\t', '\t')

return_results(parse_list(parse_all, header, value, list_name, list_separator))

Expand Down
2 changes: 1 addition & 1 deletion Packs/CommonScripts/Scripts/GetlistRow/GetListRow.yml
Expand Up @@ -42,7 +42,7 @@ script: '-'
subtype: python3
timeout: '0'
type: python
dockerimage: demisto/python3:3.10.12.63474
dockerimage: demisto/python3:3.10.12.65389
runas: DBotWeakRole
tests:
- No tests (auto formatted)
Expand Down
2 changes: 1 addition & 1 deletion Packs/CommonScripts/pack_metadata.json
Expand Up @@ -2,7 +2,7 @@
"name": "Common Scripts",
"description": "Frequently used scripts pack.",
"support": "xsoar",
"currentVersion": "1.12.4",
"currentVersion": "1.12.5",
"author": "Cortex XSOAR",
"url": "https://www.paloaltonetworks.com/cortex",
"email": "",
Expand Down

0 comments on commit dafaba5

Please sign in to comment.