We have noticed that if we paste a code block into a ticket comment, any URLs in the code block get removed. This can be problematic if we don't notice this has happened, and is annoying to have to manually fix it.
Example code block to reproduce the issue:
/gopath/pkg/mod/cache/vcs/7e5fa1eab4705eb80c9746632736cea906708d060702d529df6241d1c8c2c9f9: exit status 128:
fatal: unable to access 'https://gopkg.in/check.v1/': server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
Steps
- Copy the code block above
- Paste the code block in a comment on a Jira ticket
- Notice that the URL gets stripped out:
...fatal: unable to access '': server...
This primarily happens to us when pasting code blocks from Slack, but can be reproduced with just Atlassian products.