( value: string | null | undefined, paramName = 'issueKey' )
| 664 | * ``` |
| 665 | */ |
| 666 | export function validateJiraIssueKey( |
| 667 | value: string | null | undefined, |
| 668 | paramName = 'issueKey' |
| 669 | ): ValidationResult { |
| 670 | return validatePathSegment(value, { |
| 671 | paramName, |
| 672 | allowHyphens: true, |
| 673 | allowUnderscores: false, |
| 674 | allowDots: false, |
| 675 | maxLength: 255, |
| 676 | }) |
| 677 | } |
| 678 | |
| 679 | /** |
| 680 | * Validates a URL to prevent SSRF attacks |
no test coverage detected