• Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • core

      The Jelly taglib TextArea supports FormValidation Whereas a SecretTextArea does not.

      It should be possible to use SecretTextArea with form validation just like Password, or TextArea (or mostly any other form field).

       

      Whilst it may sound strange to some that a secret block of text should be validated, this is useful for things like PEM encoded keys where the validation should be able to check that the text is indeed a PEM encoded key, or that it matches a certificate given in another field.

          [JENKINS-73404] SecretTextArea missing FormValidation support

          James Nord created issue -
          James Nord made changes -
          Assignee New: James Nord [ teilo ]
          James Nord made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          James Nord made changes -
          Labels New: lts-candidate
          James Nord made changes -
          Status Original: In Progress [ 3 ] New: In Review [ 10005 ]
          James Nord made changes -
          Remote Link New: This issue links to "jenkinsci/jenkins#9450 (Web Link)" [ 29813 ]
          Emilio Escobar made changes -
          Link New: This issue is blocking JENKINS-73408 [ JENKINS-73408 ]
          James Nord made changes -
          Description Original: The Jelly taglib {{TextArea}} supports {{FormValidation}} Whereas a {{SecretTextArea}} does not.

          It should be possible to use {{SecretTextArea}} with form validation just like {{{}Secrets{}}}, or {{{}TextArea{}}}.

           

          Whilst it may sound strange to some that a secret block of text should be validated, this is useful for things like PEM encoded keys where the validation should be able to check that the text is indeed a PEM encoded key, or that it matches a certificate given in another field.
          New: The Jelly taglib {{TextArea}} supports {{FormValidation}} Whereas a {{SecretTextArea}} does not.

          It should be possible to use {{SecretTextArea}} with form validation just like {{{}Password{}}}, or {{{}TextArea (or mostly any other form field){}}}.

           

          Whilst it may sound strange to some that a secret block of text should be validated, this is useful for things like PEM encoded keys where the validation should be able to check that the text is indeed a PEM encoded key, or that it matches a certificate given in another field.
          Francisco Fernández made changes -
          Resolution New: Done [ 10000 ]
          Status Original: In Review [ 10005 ] New: Fixed but Unreleased [ 10203 ]
          Mark Waite made changes -
          Released As New: https://www.jenkins.io/changelog/2.469/
          Status Original: Fixed but Unreleased [ 10203 ] New: Closed [ 6 ]

            teilo James Nord
            teilo James Nord
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: