marlof / ScORCH

DevOps Orchestration for Obrar deploy and Ansible playbooks
http://www.autoscorch.com
Apache License 2.0
5 stars 1 forks source link

Template's pasted in from JIRA can also carry across \302\240 control characters #188

Closed marlof closed 8 months ago

marlof commented 8 months ago

Recently found a case where the ticket number in a template was displayed as non-printable chars in the filename. Although this did not effect the display or the running of the job, it did make it show up in a different place when doing some admin.

Job_ TEST-1_234.TESTTEST

ls | od -c J o b _ 302 240 T E S T -

marlof commented 8 months ago

Testing with:

Action: TEST Ticket: #188

This did not paste the hyperlink under Windows 11 but did do something strange to the output on the screen when pasted

 Please enter the request below.
 To complete the request is use a fullstop on a newline:
 (To quit type CANCEL)

Action: TEST
et: #188Ticket: #188

The final job was ok:

 str_Owner=marc
 State at selection : new
Job_#188_39.TEST.1_TEST_NA_

-rwxrwx--- 1 marc scorch 7384 Jan  4 18:39 /opt/scorch/jobs/active/Job_#188_39.TEST.1_TEST_NA_

Will look at an copy/paste from JIRA

marlof commented 8 months ago

Cannot be reproduced. Will test on edge case site