Uploaded image for project: 'FreePBX'
  1. FreePBX
  2. FREEPBX-23559

Filestore input validations

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 15, 16
    • Fix Version/s: None
    • Component/s: Backup & Restore
    • Labels:
      None
    • ToDo:

      Description

      When adding values on the Filestore module (was working with SSH server), the connection was failing cause there were spaces on the Key field.

      • We would like to have those fields with all spaces trimmed out before submitting.

      Also for destination folder. The system is adding the '/' at the end of the directory so adding one will fail since it will end up having 2 forward slashes.

      E.g.

      Path:
       
      {{}}

      
      /var/spool/asterisk/backup/

      {{}}

      Logs:
       
      {{}}

      
      Saving to: SSH:'ANP-PBX-BACKUP' instance ,File location: /var/spool/asterisk/backup//20220606-134155-1654540915-15.0.23-403086355.tar.gz

      {{}}

      • We may also want to remove any trailing '/' before submitting or change our code to ONLY add the initial '/' if the Path doesn't have it already

       

      Thanks.

      
       filestore | 15.0.3.28

      {{}}

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                akarshmr Akarsh MR
                Reporter:
                spioli Santiago Pioli
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  NextupJiraPlusStatus

                  Error rendering 'slack.nextup.jira:nextup-jira-plus-status'. Please contact your Jira administrators.